[easytag/wip/disc-number: 11/11] Fix invalid reads when searching the file list
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [easytag/wip/disc-number: 11/11] Fix invalid reads when searching the file list
- Date: Mon, 22 Jul 2013 21:27:53 +0000 (UTC)
commit 24ed1748ddc72bd30316bf59fb31a76b0771e5e3
Author: David King <amigadave amigadave com>
Date: Sat Jul 13 22:59:43 2013 +0100
Fix invalid reads when searching the file list
Do not double-free the disc and track numbers.
src/misc.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/src/misc.c b/src/misc.c
index ad5679d..41e473f 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -2515,9 +2515,6 @@ Add_Row_To_Search_Result_List (ET_File *ETFile, const gchar *string_to_search)
SearchResultList_Text[SEARCH_RESULT_DISC_NUMBER] = NULL;
}
- g_free (disc_number);
- g_free (disc_total);
-
// Track
track = ((File_Tag *)ETFile->FileTag->data)->track;
track_total = ((File_Tag *)ETFile->FileTag->data)->track_total;
@@ -2532,9 +2529,6 @@ Add_Row_To_Search_Result_List (ET_File *ETFile, const gchar *string_to_search)
SearchResultList_Text[SEARCH_RESULT_TRACK] = NULL;
}
- g_free (track);
- g_free (track_total);
-
// Highlight the keywords in the result list
// Don't display files to red if the searched string is '' (to display all files)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]