[tracker] tracker-extract: Fix leak of filename variable



commit 75b3cdc0b24bd5d024f73d7659fc0d95e9c535fc
Author: Philip Van Hoof <philip codeminded be>
Date:   Tue Mar 25 10:15:49 2014 +0100

    tracker-extract: Fix leak of filename variable

 src/tracker-extract/tracker-extract-bmp.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract-bmp.c b/src/tracker-extract/tracker-extract-bmp.c
index 43fe7ef..4e669fb 100644
--- a/src/tracker-extract/tracker-extract-bmp.c
+++ b/src/tracker-extract/tracker-extract-bmp.c
@@ -57,5 +57,7 @@ tracker_extract_get_metadata (TrackerExtractInfo *info)
 
        /* TODO: Add actual metadata extraction for BMP files */
 
+       g_free (filename);
+
        return TRUE;
 }


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