[tracker] tracker-miner-fs: Fix double unref in thumbnailer



commit c662b4c294daacf07a2e8499b305f56afc3edefe
Author: Jürg Billeter <j bitron ch>
Date:   Tue Sep 29 17:25:45 2009 +0200

    tracker-miner-fs: Fix double unref in thumbnailer

 src/tracker-miner-fs/tracker-thumbnailer.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/tracker-miner-fs/tracker-thumbnailer.c b/src/tracker-miner-fs/tracker-thumbnailer.c
index 67c9efd..800615c 100644
--- a/src/tracker-miner-fs/tracker-thumbnailer.c
+++ b/src/tracker-miner-fs/tracker-thumbnailer.c
@@ -156,10 +156,12 @@ tracker_thumbnailer_init (void)
 
 		if (private->requester_proxy) {
 			g_object_unref (private->requester_proxy);
+			private->requester_proxy = NULL;
 		}
 		
 		if (private->manager_proxy) {
 			g_object_unref (private->manager_proxy);
+			private->manager_proxy = NULL;
 		}
 
 		return FALSE;



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