diff options
author | Stef Walter <stef@thewalter.net> | 2012-03-13 21:37:22 +0100 |
---|---|---|
committer | Stef Walter <stef@thewalter.net> | 2012-03-13 21:37:22 +0100 |
commit | 2217f49d1fb538e0c4f8de6e8b556969a9da0600 (patch) | |
tree | 5bc7df9f3bf75ffcaeaba860c16759219499e640 /common | |
parent | c4f85dfd44f65dacd62044857d0cfe284c0907f6 (diff) |
Fix double free after parse failure
Diffstat (limited to 'common')
-rw-r--r-- | common/config-parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/config-parser.c b/common/config-parser.c index a76e9c2..79bead9 100644 --- a/common/config-parser.c +++ b/common/config-parser.c @@ -314,7 +314,7 @@ parse_dir_internal(const char* subdir, void* data) if(!is_reg && !is_lnk) continue; - /* Build a happy path name */ + memory = NULL; cfg_parse_file(path, data, &memory); /* We call it with blanks after files */ |