summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-02-01 17:48:39 +0100
committerSimon Josefsson <simon@josefsson.org>2008-02-01 17:48:39 +0100
commit01d898cc19e94ae0f1c3ec64958baf6d64e088b7 (patch)
tree56ec957937c03e94ff70b374846a47ab0ef323c0 /tests
parent513d5dc6975350ead11bdbd6ab4eca382444329c (diff)
downloadlibtasn1-01d898cc19e94ae0f1c3ec64958baf6d64e088b7.tar.gz
Fix mem leak.
Diffstat (limited to 'tests')
-rw-r--r--tests/Test_encoding.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/Test_encoding.c b/tests/Test_encoding.c
index bc61900..4b96727 100644
--- a/tests/Test_encoding.c
+++ b/tests/Test_encoding.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2006, 2007 Free Software Foundation
+ * Copyright (C) 2006, 2007, 2008 Free Software Foundation
* Copyright (C) 2002 Fabio Fiorina
*
* This file is part of LIBTASN1.
@@ -123,6 +123,7 @@ main (int argc, char *argv[])
exit (1);
}
+ asn1_delete_structure (&asn1_element);
printf ("Success\n");
exit (0);