[tracker/tracker-0.8] libtracker-miner: Fix memleak in item_move()



commit a5f399d62f4b4e5a0b65901b65a70c0737c648c0
Author: Aleksander Morgado <aleksander lanedo com>
Date:   Fri Jul 16 19:18:29 2010 +0200

    libtracker-miner: Fix memleak in item_move()

 src/libtracker-miner/tracker-miner-fs.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-miner-fs.c b/src/libtracker-miner/tracker-miner-fs.c
index 4b00a3e..34e7e96 100644
--- a/src/libtracker-miner/tracker-miner-fs.c
+++ b/src/libtracker-miner/tracker-miner-fs.c
@@ -1794,6 +1794,7 @@ item_move (TrackerMinerFS *fs,
 
 		g_free (source_uri);
 		g_free (uri);
+		g_object_unref (file_info);
 
 		return retval;
 	}



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