From: Jouni Malinen Date: Sun, 18 Apr 2010 08:10:46 +0000 (+0300) Subject: TNCS: Fix uninit in error case to not double free IMVs X-Git-Tag: hostap_0_7_2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5febb0d272672d63878aad46a1407ebd30a40773;p=thirdparty%2Fhostap.git TNCS: Fix uninit in error case to not double free IMVs --- diff --git a/src/eap_server/tncs.c b/src/eap_server/tncs.c index 21d83b3bd..497b51a0f 100644 --- a/src/eap_server/tncs.c +++ b/src/eap_server/tncs.c @@ -1231,6 +1231,7 @@ void tncs_global_deinit(void) } os_free(tncs_global_data); + tncs_global_data = NULL; }