chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libudev: always return valid negative error codes on API functions
[elogind.git]
/
src
/
shared
/
conf-parser.c
diff --git
a/src/shared/conf-parser.c
b/src/shared/conf-parser.c
index efd2147e798acc86ddb8ce65e1015d77f758e465..95d64fcca2541c159af0d02f36f01a8c721adf00 100644
(file)
--- a/
src/shared/conf-parser.c
+++ b/
src/shared/conf-parser.c
@@
-260,6
+260,7
@@
static int parse_line(const char* unit,
"Unknown section '%s'. Ignoring.", n);
free(n);
+ free(*section);
*section = NULL;
} else {
free(*section);