diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-11-10 20:43:43 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-11-10 20:43:43 +0100 |
commit | 9d3c08e633b70fbc236cc8e197732ba32f9fc5cb (patch) | |
tree | 16f54bf3dd4b28da689931cbd06a30ada4d5ff80 /src/mds-kbdc/mds-kbdc.c | |
parent | mds-kbdc: add support for return, continue and break (diff) | |
download | mds-9d3c08e633b70fbc236cc8e197732ba32f9fc5cb.tar.gz mds-9d3c08e633b70fbc236cc8e197732ba32f9fc5cb.tar.bz2 mds-9d3c08e633b70fbc236cc8e197732ba32f9fc5cb.tar.xz |
memory leak
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | src/mds-kbdc/mds-kbdc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mds-kbdc/mds-kbdc.c b/src/mds-kbdc/mds-kbdc.c index d7427d2..fccd1df 100644 --- a/src/mds-kbdc/mds-kbdc.c +++ b/src/mds-kbdc/mds-kbdc.c @@ -57,9 +57,10 @@ int main(int argc_, char** argv_) } mds_kbdc_parse_error_free_all(parse_errors); if (fatal) - return 1; + return mds_kbdc_tree_free(tree), 1; } + mds_kbdc_tree_free(tree); return 0; pfail: |