diff options
author | Simon Josefsson <simon@josefsson.org> | 2008-02-01 17:48:39 +0100 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2008-02-01 17:48:39 +0100 |
commit | 01d898cc19e94ae0f1c3ec64958baf6d64e088b7 (patch) | |
tree | 56ec957937c03e94ff70b374846a47ab0ef323c0 /tests | |
parent | 513d5dc6975350ead11bdbd6ab4eca382444329c (diff) | |
download | libtasn1-01d898cc19e94ae0f1c3ec64958baf6d64e088b7.tar.gz |
Fix mem leak.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Test_encoding.c | 3 |
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); |