aboutsummaryrefslogtreecommitdiffstats
path: root/packet-ldap.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-04-25 21:19:10 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-04-25 21:19:10 +0000
commit012d06709a9b3ff4feb3996693e1863fb28acf64 (patch)
tree24251f03a7f0b2fb0075c36593cd3407da2dee80 /packet-ldap.c
parenta0bc3364d9cbfa9d20d88d211a1e05121a2d79d8 (diff)
From Tony Schene: after freeing saved authentication mechanism strings
in the "auth_info_items" list, and free all the items in that list, we need to null out the pointer to that list to indicate that it's been emptied out. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7563 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-ldap.c')
-rw-r--r--packet-ldap.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/packet-ldap.c b/packet-ldap.c
index d355489a44..b0cc2e8ace 100644
--- a/packet-ldap.c
+++ b/packet-ldap.c
@@ -3,7 +3,7 @@
*
* See RFC 1777 (LDAP v2), RFC 2251 (LDAP v3), and RFC 2222 (SASL).
*
- * $Id: packet-ldap.c,v 1.53 2003/04/21 07:58:16 guy Exp $
+ * $Id: packet-ldap.c,v 1.54 2003/04/25 21:19:10 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -1952,6 +1952,8 @@ ldap_reinit(void)
if (ldap_auth_info_chunk != NULL)
g_mem_chunk_destroy(ldap_auth_info_chunk);
+ auth_info_items = NULL;
+
ldap_auth_info_chunk = g_mem_chunk_new("ldap_auth_info_chunk",
sizeof(ldap_auth_info_t),
ldap_auth_info_chunk_count * sizeof(ldap_auth_info_t),