summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gio/glocalfile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gio/glocalfile.c b/gio/glocalfile.c
index e28a8be85..b9bec8afd 100644
--- a/gio/glocalfile.c
+++ b/gio/glocalfile.c
@@ -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);