[tracker/miner-web-review: 16/74] libtracker-miner: Fixed storage memory leak iterating volumes
- From: Adrien Bustany <abustany src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/miner-web-review: 16/74] libtracker-miner: Fixed storage memory leak iterating volumes
- Date: Mon, 1 Mar 2010 11:28:03 +0000 (UTC)
commit c6bfa381ce7ef0378515ecce918679775766cd05
Author: Martyn Russell <martyn lanedo com>
Date: Tue Feb 23 16:59:27 2010 +0000
libtracker-miner: Fixed storage memory leak iterating volumes
src/libtracker-miner/tracker-storage.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-storage.c b/src/libtracker-miner/tracker-storage.c
index daf3106..8b1b5f0 100644
--- a/src/libtracker-miner/tracker-storage.c
+++ b/src/libtracker-miner/tracker-storage.c
@@ -415,6 +415,7 @@ drives_setup (TrackerStorage *storage)
for (lv = volumes; lv; lv = lv->next) {
volume_add (storage, lv->data, TRUE);
+ g_object_unref (lv->data);
}
g_list_free (volumes);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]