aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-kbdc/tree.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-11-11 04:28:17 +0100
committerMattias Andrée <maandree@operamail.com>2014-11-11 04:28:17 +0100
commit897bc5e18e06931add00582fc09edead23959bef (patch)
treefc3a83dbbfa8fc0edd1ad838028f9b300ff32fae /src/mds-kbdc/tree.c
parentCHARS_END => END (diff)
downloadmds-897bc5e18e06931add00582fc09edead23959bef.tar.gz
mds-897bc5e18e06931add00582fc09edead23959bef.tar.bz2
mds-897bc5e18e06931add00582fc09edead23959bef.tar.xz
mds-kbdc: have + memory leak on destruction of have
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/mds-kbdc/tree.c')
-rw-r--r--src/mds-kbdc/tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mds-kbdc/tree.c b/src/mds-kbdc/tree.c
index 99fa223..4f0fec0 100644
--- a/src/mds-kbdc/tree.c
+++ b/src/mds-kbdc/tree.c
@@ -96,7 +96,7 @@ static void mds_kbdc_tree_destroy_(mds_kbdc_tree_t* restrict this, int recursive
break;
case MDS_KBDC_TREE_TYPE_ASSUMPTION_HAVE:
- xfree(mds_kbdc_tree_assumption_have_t*, data);
+ xdestroy(mds_kbdc_tree_assumption_have_t*, data);
break;
case MDS_KBDC_TREE_TYPE_ASSUMPTION_HAVE_CHARS: