summaryrefslogtreecommitdiff
path: root/tests/mpi.c
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2012-01-25 13:29:29 +0100
committerSimon Josefsson <simon@josefsson.org>2012-01-25 13:36:35 +0100
commitf85b10210f68649957ddc285c79b91ee86fce4ba (patch)
tree8843d357fd8d6f1bf86beed2a02bf27d5f28dbdd /tests/mpi.c
parent82498bad27645c47222fa932a7caa2e95747980a (diff)
downloadgnutls-f85b10210f68649957ddc285c79b91ee86fce4ba.tar.gz
Fix mem leaks.
Diffstat (limited to 'tests/mpi.c')
-rw-r--r--tests/mpi.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/mpi.c b/tests/mpi.c
index 70b3ba7080..ccc3c0c74f 100644
--- a/tests/mpi.c
+++ b/tests/mpi.c
@@ -1,7 +1,7 @@
/*
* Copyright (C) 2007-2012 Free Software Foundation, Inc.
*
- * Author: Simon Josefsson
+ * Author: Nikos Mavrogiannopoulos, Simon Josefsson
*
* This file is part of GnuTLS.
*
@@ -83,5 +83,7 @@ doit (void)
_gnutls_mpi_release (&n3);
_gnutls_mpi_release (&n4);
+ gnutls_global_deinit ();
+
if (debug) success ("mpi ops ok\n");
}