summaryrefslogtreecommitdiff
path: root/tests/gc.c
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-06-05 22:20:31 +0200
committerSimon Josefsson <simon@josefsson.org>2008-06-05 22:20:31 +0200
commitf97f8c4e00547774f942d85941c419d45085bdc8 (patch)
tree1a1961d4f693bbff99522537b0e5b9b6429df13d /tests/gc.c
parent88da52da22696a8ca4b25ad307fab825115aa88e (diff)
downloadgnutls-f97f8c4e00547774f942d85941c419d45085bdc8.tar.gz
Fix memory leak.
Diffstat (limited to 'tests/gc.c')
-rw-r--r--tests/gc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/gc.c b/tests/gc.c
index 0915ff763b..8965fda6ec 100644
--- a/tests/gc.c
+++ b/tests/gc.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2004, 2005 Free Software Foundation
+ * Copyright (C) 2004, 2005, 2008 Free Software Foundation
*
* This file is part of GNUTLS.
*
@@ -143,4 +143,6 @@ doit (void)
}
gc_done ();
+
+ gnutls_global_deinit();
}