]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
TNCS: Fix uninit in error case to not double free IMVs
authorJouni Malinen <j@w1.fi>
Sun, 18 Apr 2010 08:10:46 +0000 (11:10 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 18 Apr 2010 08:10:46 +0000 (11:10 +0300)
src/eap_server/tncs.c

index 21d83b3bd9614e7be1fe03452338b25010abf925..497b51a0f3e5e944a5933fd095e32649647f327c 100644 (file)
@@ -1231,6 +1231,7 @@ void tncs_global_deinit(void)
        }
 
        os_free(tncs_global_data);
+       tncs_global_data = NULL;
 }