summaryrefslogtreecommitdiffstats
path: root/common/userpref.c
diff options
context:
space:
mode:
authorGravatar Aaron Burghardt2013-12-04 18:30:23 -0500
committerGravatar Aaron Burghardt2013-12-04 18:31:58 -0500
commit8238bdb59ff99deedec4da7daf6dfa54366dfcac (patch)
tree8aeb956e9bd0c697cfa770406b5933d9b720d00b /common/userpref.c
parent0bbccf2fde7b865f570316a52f8cb3d0de408e60 (diff)
downloadlibimobiledevice-8238bdb59ff99deedec4da7daf6dfa54366dfcac.tar.gz
libimobiledevice-8238bdb59ff99deedec4da7daf6dfa54366dfcac.tar.bz2
userpref.c: removed excessive plist_free of a plist dict item.
Diffstat (limited to 'common/userpref.c')
-rw-r--r--common/userpref.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/common/userpref.c b/common/userpref.c
index c76fca5..cd8b229 100644
--- a/common/userpref.c
+++ b/common/userpref.c
@@ -327,7 +327,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;
}
}