Set "conversation_keys" to NULL after destroying the list of

conversation keys.

svn path=/trunk/; revision=1029
This commit is contained in:
Guy Harris 1999-11-14 19:56:32 +00:00
parent 56cfe0557a
commit 7d5804a822
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
/* conversation.c
* Routines for building lists of packets that are part of a "conversation"
*
* $Id: conversation.c,v 1.3 1999/11/11 20:44:14 guy Exp $
* $Id: conversation.c,v 1.4 1999/11/14 19:56:32 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@ -182,6 +182,7 @@ conversation_init(void)
g_free((gpointer)key->src.data);
g_free((gpointer)key->dst.data);
}
conversation_keys = NULL;
if (conversation_hashtable != NULL)
g_hash_table_destroy(conversation_hashtable);
if (conversation_key_chunk != NULL)