aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-kbdc/parsed.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/mds-kbdc/parsed.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mds-kbdc/parsed.c b/src/mds-kbdc/parsed.c
index 125259a..3079011 100644
--- a/src/mds-kbdc/parsed.c
+++ b/src/mds-kbdc/parsed.c
@@ -52,6 +52,10 @@ void mds_kbdc_parsed_destroy(mds_kbdc_parsed_t* restrict this)
while (this->countries_ptr--)
free(this->countries[this->countries_ptr]);
free(this->countries);
+ free(this->variant);
+ while (this->assumed_strings_ptr--)
+ free(this->assumed_strings[this->assumed_strings_ptr]);
+ free(this->assumed_strings);
memset(this, 0, sizeof(mds_kbdc_parsed_t));
}