Fix mem leak.
authorSimon Josefsson <simon@josefsson.org>
Fri, 1 Feb 2008 16:48:39 +0000 (17:48 +0100)
committerSimon Josefsson <simon@josefsson.org>
Fri, 1 Feb 2008 16:48:39 +0000 (17:48 +0100)
tests/Test_encoding.c

index bc61900..4b96727 100644 (file)
@@ -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);