pidgin: 08fd5918: Use g_free instead of free.

sadrul at pidgin.im sadrul at pidgin.im
Sun Dec 7 21:21:23 EST 2008


-----------------------------------------------------------------
Revision: 08fd5918978aecbd045771fb72fd0d80c7fcf941
Ancestor: b507bb1dedd2667cc4560ab1785454614ae4fce4
Author: sadrul at pidgin.im
Date: 2008-12-08T02:22:59
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/08fd5918978aecbd045771fb72fd0d80c7fcf941

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

ChangeLog: 

Use g_free instead of free.

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/jabber.c	fae89b85eb95cd4daf2e4349ffbbee7da0204bb2
+++ libpurple/protocols/jabber/jabber.c	f5ad5d51792123756e76a2cb23a1e60daa14d8e0
@@ -200,7 +200,7 @@ static void jabber_stream_features_parse
 		if (requested_resource != NULL) {
 			resource = xmlnode_new_child(bind, "resource");
 			xmlnode_insert_data(resource, requested_resource, -1);
-			free(requested_resource);
+			g_free(requested_resource);
 		}
 
 		jabber_iq_set_callback(iq, jabber_bind_result_cb, NULL);


More information about the Commits mailing list