[tracker/gdbus-porting: 25/65] libtracker-miner: Fixes memory leaks in tracker-thumbnailer.c



commit 04b42927172c080ebbb9b4dc01ae1983e3fd3843
Author: Philip Van Hoof <philip codeminded be>
Date:   Fri Dec 31 10:20:06 2010 +0100

    libtracker-miner: Fixes memory leaks in tracker-thumbnailer.c

 src/libtracker-miner/tracker-thumbnailer.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-thumbnailer.c b/src/libtracker-miner/tracker-thumbnailer.c
index 60a1a25..44925af 100644
--- a/src/libtracker-miner/tracker-thumbnailer.c
+++ b/src/libtracker-miner/tracker-thumbnailer.c
@@ -240,6 +240,8 @@ error_handler:
 			private->service_is_available = TRUE;
 		}
 
+		g_free (mime_types);
+		g_free (uri_schemes);
 
 		g_variant_unref (v);
 	}



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