+static void
+g_unix_volume_monitor_dispose (GObject *object)
+{
+ GUnixVolumeMonitor *monitor;
+
+ monitor = G_UNIX_VOLUME_MONITOR (object);
+
+ g_list_free_full (monitor->volumes, g_object_unref);
+ monitor->volumes = NULL;
+
+ g_list_free_full (monitor->mounts, g_object_unref);
+ monitor->mounts = NULL;
+
+ G_OBJECT_CLASS (g_unix_volume_monitor_parent_class)->dispose (object);
+}
+