changeset 29669:fd4878f0aa76

Properly use g_slist_free instead of g_free in this instance. Fixes #11605. committer: John Bailey <rekkanoryo@rekkanoryo.org>
author Jürgen Orschiedt
date Fri, 02 Apr 2010 16:35:52 +0000
parents 957f57decf90
children ca77ea5de98d
files libpurple/protocols/novell/novell.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/novell/novell.c	Fri Apr 02 16:32:40 2010 +0000
+++ b/libpurple/protocols/novell/novell.c	Fri Apr 02 16:35:52 2010 +0000
@@ -1458,7 +1458,7 @@
 		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;
 	}