[easytag] Fix a memory leak when freeing the log list
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag] Fix a memory leak when freeing the log list
- Date: Tue, 5 Feb 2013 21:40:49 +0000 (UTC)
commit 5f907767076983bfd82dbc23a2a572ea6640ab73
Author: Andreas Winkelmann <ml awinkelmann de>
Date: Sat Jan 26 19:52:21 2013 +0100
Fix a memory leak when freeing the log list
src/log.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/log.c b/src/log.c
index 9ae4bf3..7fa1fba 100644
--- a/src/log.c
+++ b/src/log.c
@@ -374,6 +374,7 @@ Log_Print_Tmp_List (void)
LogPrintTmpList = g_list_first(LogPrintTmpList);
while (LogPrintTmpList)
{
+ g_free(((Log_Data *)LogPrintTmpList->data)->string);
g_free(((Log_Data *)LogPrintTmpList->data)->time);
g_free(((Log_Data *)LogPrintTmpList->data));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]