changeset 32067:717794d55760

Fix another leak ==13267== 624 (144 direct, 480 indirect) bytes in 6 blocks are definitely lost in loss record 14,700 of 15,489 ==13267== at 0x4C2779D: malloc (vg_replace_malloc.c:236) ==13267== by 0x9014392: g_malloc (gmem.c:164) ==13267== by 0x902AFE6: g_slice_alloc (gslice.c:842) ==13267== by 0x90084BD: g_list_prepend (glist.c:309) ==13267== by 0x932797F: purple_log_get_log_sets (log.c:1087) ==13267== by 0x4B3929: add_completion_list (gtkutils.c:2093)
author Paul Aurich <paul@darkrain42.org>
date Thu, 19 May 2011 04:18:26 +0000
parents 8b2fa46cdfd5
children 3268f7da72c6
files libpurple/log.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/log.c	Thu May 19 04:16:15 2011 +0000
+++ b/libpurple/log.c	Thu May 19 04:18:26 2011 +0000
@@ -1160,6 +1160,7 @@
 		g_dir_close(protocol_dir);
 	}
 	g_free(log_path);
+	g_list_free(accounts);
 	g_dir_close(log_dir);
 }