aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-kbdc/parsed.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-12-04 14:08:22 +0100
committerMattias Andrée <maandree@operamail.com>2014-12-04 14:08:22 +0100
commita545d847798849d9f72ea27549770e950126b206 (patch)
tree0428431c69c2ac6829f1e7e8033261df34fd2045 /src/mds-kbdc/parsed.c
parentmds-kbdc: more compilation (diff)
downloadmds-a545d847798849d9f72ea27549770e950126b206.tar.gz
mds-a545d847798849d9f72ea27549770e950126b206.tar.bz2
mds-a545d847798849d9f72ea27549770e950126b206.tar.xz
mds-kbdc: more compilation stuff
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/mds-kbdc/parsed.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mds-kbdc/parsed.c b/src/mds-kbdc/parsed.c
index 3079011..a049b9c 100644
--- a/src/mds-kbdc/parsed.c
+++ b/src/mds-kbdc/parsed.c
@@ -56,6 +56,9 @@ void mds_kbdc_parsed_destroy(mds_kbdc_parsed_t* restrict this)
while (this->assumed_strings_ptr--)
free(this->assumed_strings[this->assumed_strings_ptr]);
free(this->assumed_strings);
+ while (this->assumed_keys_ptr--)
+ free(this->assumed_keys[this->assumed_keys_ptr]);
+ free(this->assumed_keys);
memset(this, 0, sizeof(mds_kbdc_parsed_t));
}