changeset 24614:641fe4c2b2a5

Use g_free instead of free.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Mon, 08 Dec 2008 02:22:59 +0000
parents 531922f4ea2a
children 9fc3f5bf4455 781723b2a170 acd98ea6c6f9
files libpurple/protocols/jabber/jabber.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jabber.c	Sun Dec 07 23:34:12 2008 +0000
+++ b/libpurple/protocols/jabber/jabber.c	Mon Dec 08 02:22:59 2008 +0000
@@ -200,7 +200,7 @@
 		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);