[easytag] Fix memory leak in et_file_list_add()



commit f3f403cd4e2168f4bbc1fb650357c3ea73102ff5
Author: David King <amigadave amigadave com>
Date:   Sun Feb 22 12:14:28 2015 +0000

    Fix memory leak in et_file_list_add()

 src/file_list.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/file_list.c b/src/file_list.c
index 887bb9a..f574cde 100644
--- a/src/file_list.c
+++ b/src/file_list.c
@@ -474,6 +474,9 @@ et_file_list_add (GList *file_list,
     //ET_Add_File_To_Artist_Album_File_List(ETFile);
 
     //ET_Debug_Print_File_List(ETCore->ETFileList,__FILE__,__LINE__,__FUNCTION__);
+
+    g_free (filename_utf8);
+
     return result;
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]