aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-11-11 08:02:36 +0100
committerMattias Andrée <maandree@operamail.com>2014-11-11 08:02:36 +0100
commit4147257691c14a72f3d4997570ea8a2a2ccc0cb0 (patch)
tree8267573a75c38bf48777cfd6728b4309afe5fac0
parentmds-kbdc: have + memory leak on destruction of have (diff)
downloadmds-4147257691c14a72f3d4997570ea8a2a2ccc0cb0.tar.gz
mds-4147257691c14a72f3d4997570ea8a2a2ccc0cb0.tar.bz2
mds-4147257691c14a72f3d4997570ea8a2a2ccc0cb0.tar.xz
add todo
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--src/mds-kbdc/make-tree.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mds-kbdc/make-tree.c b/src/mds-kbdc/make-tree.c
index 6822261..1ed742d 100644
--- a/src/mds-kbdc/make-tree.c
+++ b/src/mds-kbdc/make-tree.c
@@ -678,6 +678,8 @@ int parse_to_tree(const char* restrict filename, mds_kbdc_tree_t** restrict resu
*end = prev_end_char;
}
+ /* TODO check that the stack is empty */
+
free(pathname);
free(keyword_stack);
free(tree_stack);