pidgin: c1e8b3f5: NULL mech_data in digest_md5_dispose (wh...

darkrain42 at pidgin.im darkrain42 at pidgin.im
Sun May 2 02:35:40 EDT 2010


-----------------------------------------------------------------
Revision: c1e8b3f54731a6e80dbd9548603edf88a823e8d8
Ancestor: 4c55071e378925a58e465c74df8ecfc872917260
Author: darkrain42 at pidgin.im
Date: 2010-05-02T06:32:24
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/c1e8b3f54731a6e80dbd9548603edf88a823e8d8

Modified files:
        libpurple/protocols/jabber/auth_digest_md5.c

ChangeLog: 

NULL mech_data in digest_md5_dispose (what SCRAM and digest-md5 do elsewhere)

Thanks, QuLogic!

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/auth_digest_md5.c	b27708b5c278d1e331e92af4f4fdca809c35f245
+++ libpurple/protocols/jabber/auth_digest_md5.c	857c4e8e03d05e94a105e5763b7cd8eb5c758cc6
@@ -281,6 +281,7 @@ digest_md5_dispose(JabberStream *js)
 digest_md5_dispose(JabberStream *js)
 {
 	g_free(js->auth_mech_data);
+	js->auth_mech_data = NULL;
 }
 
 static JabberSaslMech digest_md5_mech = {


More information about the Commits mailing list