changeset 28217:5a38fab8c199

This was a memory leak, right?
author Mark Doliner <mark@kingant.net>
date Mon, 10 Aug 2009 23:24:39 +0000
parents 4a4e9d309fc0
children 6adbdd4b2963
files libpurple/protocols/jabber/buddy.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/buddy.c	Mon Aug 10 15:57:35 2009 +0000
+++ b/libpurple/protocols/jabber/buddy.c	Mon Aug 10 23:24:39 2009 +0000
@@ -513,6 +513,7 @@
 
 		xmlnode_insert_data(binval, enc, -1);
 		g_free(enc);
+		purple_imgstore_unref(img);
 	} else if (vc_node) {
 		xmlnode *photo;
 		/* TODO: Remove all PHOTO children? (see above note) */