pidgin: aca75c1c: Properly use g_slist_free instead of g_f...

rekkanoryo at pidgin.im rekkanoryo at pidgin.im
Fri Apr 2 12:40:49 EDT 2010


-----------------------------------------------------------------
Revision: aca75c1c2c4ff2a893eac979eb886bbf5ff74afa
Ancestor: 3e0e72ececb27277fcfb03500df9b47c44b0ebb6
Author: J?rgen Orschiedt
Date: 2010-04-02T16:35:52
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/aca75c1c2c4ff2a893eac979eb886bbf5ff74afa

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

ChangeLog: 

Properly use g_slist_free instead of g_free in this instance.  Fixes #11605.

-------------- next part --------------
============================================================
--- libpurple/protocols/novell/novell.c	6499faf1a24a536b7604f38d2be0dca80adf7c90
+++ libpurple/protocols/novell/novell.c	292cc04d976c1c05a8e61abc1f995e50606a1b67
@@ -1458,7 +1458,7 @@ _sync_privacy_lists(NMUser *user)
 		for (node = rem_list; node; node = node->next) {
 			purple_privacy_permit_remove(gc->account, (char *)node->data, TRUE);
 		}
-		g_free(rem_list);
+		g_slist_free(rem_list);
 		rem_list = NULL;
 	}
 


More information about the Commits mailing list