changeset 20783:ee8016f8208e

More leak plugging.
author Daniel Atallah <daniel.atallah@gmail.com>
date Fri, 05 Oct 2007 04:03:57 +0000
parents 848970b040a5
children ca0d0e4f8c91
files libpurple/protocols/jabber/presence.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/presence.c	Fri Oct 05 03:52:44 2007 +0000
+++ b/libpurple/protocols/jabber/presence.c	Fri Oct 05 04:03:57 2007 +0000
@@ -378,7 +378,8 @@
 			break;
 		}
 	}
-	g_free(user_data);
+	g_free(userdata->from);
+	g_free(userdata);
 }
 
 void jabber_presence_parse(JabberStream *js, xmlnode *packet)