mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-03 09:46:17 +01:00
gio: Clean up trashinfo file if trashing fails
https://bugzilla.gnome.org/show_bug.cgi?id=687202
This commit is contained in:
parent
e94df7cfc2
commit
e2fcb77cb0
@ -2083,6 +2083,8 @@ g_local_file_trash (GFile *file,
|
||||
{
|
||||
int errsv = errno;
|
||||
|
||||
g_unlink (infofile);
|
||||
|
||||
g_free (topdir);
|
||||
g_free (trashname);
|
||||
g_free (infofile);
|
||||
|
Loading…
Reference in New Issue
Block a user