summaryrefslogtreecommitdiff
path: root/vconf-compat
diff options
context:
space:
mode:
authorJusung Son <jusung07.son@samsung.com>2020-01-31 16:15:47 +0900
committerJusung Son <jusung07.son@samsung.com>2020-01-31 16:15:47 +0900
commit5c8d1109e2fdf623a622c5af8fc49d9e501707d1 (patch)
tree4a9f8ce9800b7954369e558e4c8a5badbcbe2261 /vconf-compat
parentf43f802acb2e73dcea3de2df36c1026baedb5028 (diff)
downloadbuxton2-5c8d1109e2fdf623a622c5af8fc49d9e501707d1.tar.gz
buxton2-5c8d1109e2fdf623a622c5af8fc49d9e501707d1.tar.bz2
buxton2-5c8d1109e2fdf623a622c5af8fc49d9e501707d1.zip
Fix memory leak
Change-Id: Ic61ebe2896f4263b20f8c38c4448a519e9bffa2d Signed-off-by: Jusung Son <jusung07.son@samsung.com>
Diffstat (limited to 'vconf-compat')
-rw-r--r--vconf-compat/vconf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vconf-compat/vconf.c b/vconf-compat/vconf.c
index fd83b8a..b9e4032 100644
--- a/vconf-compat/vconf.c
+++ b/vconf-compat/vconf.c
@@ -1434,7 +1434,7 @@ static struct _keynode_t *_vconf_alloc_keynode(const char *keyname)
r = _vconf_set_keynode_value(v, keynode);
if (r != 0) {
- free(keynode);
+ _vconf_free_keynode(keynode);
buxton_value_free(v);
return NULL;
}