[easytag] Fix a memory leak in a tag writing error path



commit e5b47d5fbdf6540fad2380313b1b6d0b9c8bf0b1
Author: David King <amigadave amigadave com>
Date:   Wed Feb 6 17:50:18 2013 +0000

    Fix a memory leak in a tag writing error path

 src/easytag.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/easytag.c b/src/easytag.c
index 1bf74ac..4cc6a72 100644
--- a/src/easytag.c
+++ b/src/easytag.c
@@ -2803,6 +2803,7 @@ Write_File_Tag (ET_File *ETFile, gboolean hide_msgbox)
     if (ET_Save_File_Tag_To_HD(ETFile))
     {
         Statusbar_Message(_("Tag(s) written"),TRUE);
+        g_free (basename_utf8);
         return TRUE;
     }
 


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