diff options
Diffstat (limited to 'drivemount/drive-list.c')
-rw-r--r-- | drivemount/drive-list.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivemount/drive-list.c b/drivemount/drive-list.c index a20e1329..1b3679b3 100644 --- a/drivemount/drive-list.c +++ b/drivemount/drive-list.c @@ -32,6 +32,8 @@ G_DEFINE_TYPE (DriveList, drive_list, GTK_TYPE_GRID); +GSettings *settings; + static GVolumeMonitor *volume_monitor = NULL; static void drive_list_finalize (GObject *object); @@ -153,6 +155,8 @@ drive_list_finalize (GObject *object) g_hash_table_destroy (self->volumes); g_hash_table_destroy (self->mounts); + g_object_unref (settings); + if (G_OBJECT_CLASS (drive_list_parent_class)->finalize) (* G_OBJECT_CLASS (drive_list_parent_class)->finalize) (object); } |