From 3317187de6d7d636b33b470691ef0a2be3b81d37 Mon Sep 17 00:00:00 2001 From: Kurt Roeckx Date: Sun, 20 Apr 2014 16:50:03 +0200 Subject: Fix memory leak. --- tests/Test_tree.c | 3 +++ 1 file changed, 3 insertions(+) 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__}, -- cgit v1.2.3