mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
glocalfile: Fix a minor memory leak
Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
parent
6db2412b41
commit
61da8748fd
@ -1807,6 +1807,7 @@ _g_local_file_has_trash_dir (const char *dirname, dev_t dir_dev)
|
||||
if (mount == NULL || g_unix_mount_is_system_internal (mount))
|
||||
{
|
||||
g_clear_pointer (&mount, g_unix_mount_free);
|
||||
g_free (topdir);
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user