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 21d83b3..497b51a 100644 (file)
@@ -1231,6 +1231,7 @@ void tncs_global_deinit(void)
        }
 
        os_free(tncs_global_data);
+       tncs_global_data = NULL;
 }