summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Aaron Burghardt2015-07-31 12:34:22 -0400
committerGravatar Aaron Burghardt2015-07-31 12:42:08 -0400
commit726db697a22b4eb3de4ce8e2c8697cc16465c73a (patch)
tree90bceeb786b7afed00c5c6e2ebaf7d7af1bf10ec
parent90a38cc24794d2807c7e0a3d11f2eaaea76b8ebd (diff)
downloadusbmuxd-726db697a22b4eb3de4ce8e2c8697cc16465c73a.tar.gz
usbmuxd-726db697a22b4eb3de4ce8e2c8697cc16465c73a.tar.bz2
internal_get_value: fix over-free of node returned by plist_dict_get_item.
-rw-r--r--src/conf.c1
1 files changed, 0 insertions, 1 deletions
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;
}
}