changeset 29866:7cffe7ae8d1a

NULL mech_data in digest_md5_dispose (what SCRAM and digest-md5 do elsewhere) Thanks, QuLogic!
author Paul Aurich <paul@darkrain42.org>
date Sun, 02 May 2010 06:32:24 +0000
parents 50b9d05e6486
children 944718b57a66
files libpurple/protocols/jabber/auth_digest_md5.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/auth_digest_md5.c	Sun May 02 05:11:09 2010 +0000
+++ b/libpurple/protocols/jabber/auth_digest_md5.c	Sun May 02 06:32:24 2010 +0000
@@ -281,6 +281,7 @@
 digest_md5_dispose(JabberStream *js)
 {
 	g_free(js->auth_mech_data);
+	js->auth_mech_data = NULL;
 }
 
 static JabberSaslMech digest_md5_mech = {