diff options
-rw-r--r-- | monitor/udisks2/gvfsudisks2volume.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/monitor/udisks2/gvfsudisks2volume.c b/monitor/udisks2/gvfsudisks2volume.c index af623217..00f85d9d 100644 --- a/monitor/udisks2/gvfsudisks2volume.c +++ b/monitor/udisks2/gvfsudisks2volume.c @@ -176,6 +176,7 @@ apply_options_from_fstab (GVfsUDisks2Volume *volume, icon_name = gvfs_udisks2_utils_lookup_fstab_options_value (fstab_options, "x-gvfs-icon="); if (icon_name != NULL) { + g_clear_object (&volume->icon); volume->icon = g_themed_icon_new_with_default_fallbacks (icon_name); g_free (icon_name); } |