changeset 28811:c3be1de8abde

jabber: Oops. --leaks.
author Paul Aurich <paul@darkrain42.org>
date Mon, 26 Oct 2009 03:41:22 +0000
parents abb5343ec701
children edf17df87055
files libpurple/protocols/jabber/jabber.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jabber.c	Mon Oct 26 02:59:06 2009 +0000
+++ b/libpurple/protocols/jabber/jabber.c	Mon Oct 26 03:41:22 2009 +0000
@@ -1825,7 +1825,7 @@
 		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 @@
 		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);
 	}
 }