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-135.-gen-OER.c b/tests/tests-c-compiler/check-src/check-135.-gen-OER.c index 384639f..6673a49 100644 --- a/tests/tests-c-compiler/check-src/check-135.-gen-OER.c +++ b/tests/tests-c-compiler/check-src/check-135.-gen-OER.c
@@ -36,6 +36,8 @@ return 1; } + ASN_STRUCT_RESET(asn_DEF_T, &source); + ASN_STRUCT_FREE(asn_DEF_T, decoded); return 0; }