[tracker] libtracker-miner, storage: Fix memleak, GUnixMountEntry was not being disposed
- From: Aleksander Morgado <aleksm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] libtracker-miner, storage: Fix memleak, GUnixMountEntry was not being disposed
- Date: Fri, 16 Jul 2010 14:57:06 +0000 (UTC)
commit c978f6fdec7c71f8b0eb6ec1f1346839ab762d0b
Author: Aleksander Morgado <aleksander lanedo com>
Date: Fri Jul 16 16:56:50 2010 +0200
libtracker-miner, storage: Fix memleak, GUnixMountEntry was not being disposed
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 896ed40..625b4ca 100644
--- a/src/libtracker-miner/tracker-storage.c
+++ b/src/libtracker-miner/tracker-storage.c
@@ -441,6 +441,7 @@ mount_guess_content_type (GFile *mount_root,
g_free (device_path);
g_free (mount_path);
+ g_unix_mount_free (entry);
} else {
g_debug (" No GUnixMountEntry found, needed for detecting if optical media... :(");
g_free (mount_path);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]