diff options
author | Kurt Roeckx <kurt@roeckx.be> | 2014-04-20 16:50:03 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2014-04-26 11:39:43 +0200 |
commit | 3317187de6d7d636b33b470691ef0a2be3b81d37 (patch) | |
tree | 3eb8ebf7d8f1f3e8a19efe0a2a0be5c294977e37 /tests | |
parent | 84288b43c80e7f555c1a0a2ed6b4f22bcdf6be41 (diff) | |
download | libtasn1-3317187de6d7d636b33b470691ef0a2be3b81d37.tar.gz libtasn1-3317187de6d7d636b33b470691ef0a2be3b81d37.tar.bz2 libtasn1-3317187de6d7d636b33b470691ef0a2be3b81d37.zip |
Fix memory leak.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Test_tree.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/Test_tree.c b/tests/Test_tree.c index c5ef6e5..fce392e 100644 --- a/tests/Test_tree.c +++ b/tests/Test_tree.c @@ -84,6 +84,7 @@ test_type test_array[] = { {ACT_ENCODING, "", 0, 4, ASN1_MEM_ERROR, __LINE__}, {ACT_ENCODING, "", 0, 5, ASN1_SUCCESS, __LINE__}, {ACT_PRINT_DER, 0, 0, 0, ASN1_SUCCESS, __LINE__}, + {ACT_DELETE, "", "", 0, ASN1_SUCCESS, __LINE__}, {ACT_CREATE, "TEST_TREE.KrbError", 0, 0, ASN1_SUCCESS, __LINE__}, {ACT_DECODING, 0, 0, 0, ASN1_SUCCESS, __LINE__}, {ACT_VISIT, "", "", ASN1_PRINT_ALL, ASN1_SUCCESS, __LINE__}, @@ -398,11 +399,13 @@ test_type test_array[] = { {ACT_ENCODING, "", 0, 24, ASN1_MEM_ERROR, __LINE__}, {ACT_ENCODING, "", 0, 25, ASN1_SUCCESS, __LINE__}, {ACT_PRINT_DER, 0, 0, 0, ASN1_SUCCESS, __LINE__}, + {ACT_DELETE, "", "", 0, ASN1_SUCCESS, __LINE__}, {ACT_CREATE, "TEST_TREE.Sequence1", 0, 0, ASN1_SUCCESS, __LINE__}, {ACT_DECODING_ELEMENT, "int2", 0, 0, ASN1_SUCCESS, __LINE__}, {ACT_VISIT, "", "", ASN1_PRINT_ALL, ASN1_SUCCESS, __LINE__}, {ACT_READ, "int2", "\x0a", 1, ASN1_SUCCESS, __LINE__}, {ACT_READ_LENGTH, "int2", NULL, 1, ASN1_MEM_ERROR, __LINE__}, + {ACT_DELETE, "", "", 0, ASN1_SUCCESS, __LINE__}, {ACT_CREATE, "TEST_TREE.Sequence1", 0, 0, ASN1_SUCCESS, __LINE__}, {ACT_DECODING, 0, 0, 0, ASN1_SUCCESS, __LINE__}, {ACT_DECODING_START_END, "seq.?2", "START", 10, ASN1_SUCCESS, __LINE__}, |