summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5cc8977)
raw | patch | inline | side by side (parent: 5cc8977)
author | Sebastian Harl <sh@tokkee.org> | |
Thu, 20 Mar 2008 10:01:18 +0000 (11:01 +0100) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Sat, 22 Mar 2008 08:31:08 +0000 (09:31 +0100) |
In case stat(2) failed, the memory allocated for the return value has not
been freed.
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
been freed.
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
src/configfile.c | patch | blob | history |
diff --git a/src/configfile.c b/src/configfile.c
index 18c82d945a866098ec43016c87364f20da5468cd..ef997fac73415d38a4b43dca11ed9694923ac425 100644 (file)
--- a/src/configfile.c
+++ b/src/configfile.c
ERROR ("configfile: stat (%s) failed: %s",
path_ptr,
sstrerror (errno, errbuf, sizeof (errbuf)));
+ oconfig_free (root);
return (NULL);
}