# HG changeset patch # User Paul Aurich # Date 1256529595 0 # Node ID ac1ad1fa5ecf004d56559c7c5d521962bcd903df # Parent 279c6cfe69668bc7a2ba69963f82ec8ae9316ece 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) diff -r 279c6cfe6966 -r ac1ad1fa5ecf libpurple/theme-loader.c --- 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); }