commit | cef21e07acb37cad5b9812cfff6b30a63a25d058 | [log] [tgz] |
---|---|---|
author | Vasil Velichkov <vvvelichkov@gmail.com> | Mon Oct 09 23:40:17 2017 +0300 |
committer | Lev Walkin <vlm@lionet.info> | Tue Oct 10 09:11:39 2017 -0700 |
tree | cbfc46b573dcfbcb66e25455ee380176fa4a7a55 | |
parent | 5532a1d6ccca61a7a13af0b98ed6ef2a9fba50b3 [diff] [blame] |
Fix several memory leaks in the tests
diff --git a/tests/tests-c-compiler/check-src/check-35.c b/tests/tests-c-compiler/check-src/check-35.c index f4e797c..6f1fcc8 100644 --- a/tests/tests-c-compiler/check-src/check-35.c +++ b/tests/tests-c-compiler/check-src/check-35.c
@@ -304,6 +304,8 @@ assert(er.encoded == (ssize_t)xer_off); assert(xer_off == xer_sample_len); assert(memcmp(xer_buf, xer_sample, xer_off) == 0); + + ASN_STRUCT_FREE(asn_DEF_T, tp); }