]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Deinitalize extension global variable properly.
authorSimon Josefsson <simon@josefsson.org>
Mon, 8 Jun 2009 16:41:22 +0000 (18:41 +0200)
committerSimon Josefsson <simon@josefsson.org>
Mon, 8 Jun 2009 16:41:22 +0000 (18:41 +0200)
See <http://bugs.gentoo.org/272388>.

lib/gnutls_extensions.c

index e4e536f47d712e24e8871b4f5ad1d414191cd9fc..eb65d0cefcf9d0d6ad3282a6d5185f77c819b00f 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2001, 2002, 2003, 2004, 2005, 2007, 2008 Free Software Foundation
+ * Copyright (C) 2001, 2002, 2003, 2004, 2005, 2007, 2008, 2009 Free Software Foundation
  *
  * Author: Nikos Mavrogiannopoulos, Simon Josefsson
  *
@@ -331,6 +331,8 @@ void
 _gnutls_ext_deinit (void)
 {
   gnutls_free (extfunc);
+  extfunc = NULL;
+  extfunc_size = 0;
 }
 
 /**