diff --git a/gio/gwin32mount.c b/gio/gwin32mount.c index 8df59b765..98560259b 100644 --- a/gio/gwin32mount.c +++ b/gio/gwin32mount.c @@ -406,6 +406,8 @@ g_win32_mount_get_icon (GMount *mount) { win32_mount->icon = g_themed_icon_new_with_default_fallbacks (_win32_drive_type_to_icon (win32_mount->drive_type, FALSE)); } + + g_free (wfn); } return g_object_ref (win32_mount->icon); diff --git a/gio/win32/gwin32fsmonitorutils.c b/gio/win32/gwin32fsmonitorutils.c index f2ab5472a..dd945dc87 100644 --- a/gio/win32/gwin32fsmonitorutils.c +++ b/gio/win32/gwin32fsmonitorutils.c @@ -316,6 +316,7 @@ g_win32_fs_monitor_init (GWin32FSMonitorPrivate *monitor, wcsdup (wshortname); } + g_free (wfullpath); g_free (fullpath); } else