changeset 28814:ac1ad1fa5ecf

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)
author Paul Aurich <paul@darkrain42.org>
date Mon, 26 Oct 2009 03:59:55 +0000
parents 279c6cfe6966
children e0223ad82ca1
files libpurple/theme-loader.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/theme-loader.c	Mon Oct 26 03:53:17 2009 +0000
+++ b/libpurple/theme-loader.c	Mon Oct 26 03:59:55 2009 +0000
@@ -100,6 +100,7 @@
 	PurpleThemeLoaderPrivate *priv = PURPLE_THEME_LOADER_GET_PRIVATE(loader);
 
 	g_free(priv->type);
+	g_free(priv);
 
 	parent_class->finalize(obj);
 }