pidgin: bb77e37f: Fix another leak. Various iterations of:

darkrain42 at pidgin.im darkrain42 at pidgin.im
Mon Oct 26 00:40:41 EDT 2009


-----------------------------------------------------------------
Revision: bb77e37f1a6a2aa5ebf13ef36d8a440208ec4683
Ancestor: 223af27a191369f6fb15fe30f357c3dbe1135ec0
Author: darkrain42 at pidgin.im
Date: 2009-10-26T03:59:55
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/bb77e37f1a6a2aa5ebf13ef36d8a440208ec4683

Modified files:
        libpurple/theme-loader.c

ChangeLog: 

Fix another leak. Various iterations of:

==21150== 8 bytes in 1 blocks are definitely lost in loss record 668 of 13,348
==21150==    at 0x4C214CB: calloc (vg_replace_malloc.c:418)
==21150==    by 0x90AA4F9: g_malloc0 (gmem.c:151)
==21150==    by 0x93C6630: purple_theme_loader_init (theme-loader.c:93)

-------------- next part --------------
============================================================
--- libpurple/theme-loader.c	d4c5126ef0e7f2c4b5f0ebf4cbdcdc53ed87a461
+++ libpurple/theme-loader.c	d640ec7a4cfc5b9b5e06e75e2a30554967d7aaee
@@ -100,6 +100,7 @@ purple_theme_loader_finalize(GObject *ob
 	PurpleThemeLoaderPrivate *priv = PURPLE_THEME_LOADER_GET_PRIVATE(loader);
 
 	g_free(priv->type);
+	g_free(priv);
 
 	parent_class->finalize(obj);
 }


More information about the Commits mailing list