From 726db697a22b4eb3de4ce8e2c8697cc16465c73a Mon Sep 17 00:00:00 2001 From: Aaron Burghardt Date: Fri, 31 Jul 2015 12:34:22 -0400 Subject: internal_get_value: fix over-free of node returned by plist_dict_get_item. --- src/conf.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/conf.c b/src/conf.c index 0dcb062..9c9233a 100644 --- a/src/conf.c +++ b/src/conf.c @@ -290,7 +290,6 @@ static int internal_get_value(const char* config_file, const char *key, plist_t plist_t n = plist_dict_get_item(config, key); if (n) { *value = plist_copy(n); - plist_free(n); n = NULL; } } -- cgit v1.1-32-gdbae