summaryrefslogtreecommitdiff
path: root/monitor
diff options
context:
space:
mode:
authorDavid Liang <liangchenye@gmail.com>2015-04-02 09:16:16 +0800
committerOndrej Holy <oholy@redhat.com>2015-04-02 12:59:01 +0200
commit06677b95fddcd7973d296ff596031d7b9d890762 (patch)
tree6ba87d647bd43a5aa24a222df8d547c1b9eed69f /monitor
parent32377d138d4d28f5da5ed0935d4b90fa2647c1ec (diff)
downloadgvfs-06677b95fddcd7973d296ff596031d7b9d890762.tar.gz
hal: Fix a memory leak in hal-volume-monitor.
https://bugzilla.gnome.org/show_bug.cgi?id=747221
Diffstat (limited to 'monitor')
-rw-r--r--monitor/hal/ghalvolumemonitor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/monitor/hal/ghalvolumemonitor.c b/monitor/hal/ghalvolumemonitor.c
index 5082fc87..b0fb6297 100644
--- a/monitor/hal/ghalvolumemonitor.c
+++ b/monitor/hal/ghalvolumemonitor.c
@@ -864,6 +864,7 @@ should_drive_be_ignored (HalPool *pool, HalDevice *d, GList *fstab_mount_points)
}
}
+ g_list_free (volumes);
return got_volumes && all_volumes_ignored;
}