pidgin: 9cd44927: jabber: Oops. --leaks.

darkrain42 at pidgin.im darkrain42 at pidgin.im
Sun Oct 25 23:50:35 EDT 2009


-----------------------------------------------------------------
Revision: 9cd449279fcb6beed0f325928e132efcf33209fc
Ancestor: dda3c7e2036de4bc47951cdb68f6f4d20abde79f
Author: darkrain42 at pidgin.im
Date: 2009-10-26T03:41:22
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/9cd449279fcb6beed0f325928e132efcf33209fc

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

ChangeLog: 

jabber: Oops. --leaks.

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/jabber.c	fce4f939b80d703b58cc4db9ca9f2f1af90819fa
+++ libpurple/protocols/jabber/jabber.c	5e3eea432a01ca36cfeaf85b2d1280c01b334546
@@ -1825,7 +1825,7 @@ static void jabber_features_destroy(void
 		JabberFeature *feature = jabber_features->data;
 		g_free(feature->namespace);
 		g_free(feature);
-		jabber_features = g_list_remove_link(jabber_features, jabber_features);
+		jabber_features = g_list_delete_link(jabber_features, jabber_features);
 	}
 }
 
@@ -1862,7 +1862,7 @@ static void jabber_identities_destroy(vo
 		g_free(id->lang);
 		g_free(id->name);
 		g_free(id);
-		jabber_identities = g_list_remove_link(jabber_identities, jabber_identities);
+		jabber_identities = g_list_delete_link(jabber_identities, jabber_identities);
 	}
 }
 


More information about the Commits mailing list