[easytag/easytag-2-2] Fix filename leak in browser DLM selection



commit 67a92caa1d7f0cb8751fd96994bae3a58b53a9e1
Author: David King <amigadave amigadave com>
Date:   Mon Nov 3 23:31:29 2014 +0000

    Fix filename leak in browser DLM selection

 src/browser.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/browser.c b/src/browser.c
index ef91e2e..a548b2e 100644
--- a/src/browser.c
+++ b/src/browser.c
@@ -1729,6 +1729,8 @@ ET_File *Browser_List_Select_File_By_DLM (const gchar* string, gboolean select_i
                 iter2 = iter;
                 retval = current_etfile;
             }
+
+            g_free (current_filename);
         } while (gtk_tree_model_iter_next(GTK_TREE_MODEL(fileListModel), &iter));
 
         if (select_it)


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