mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-24 22:46:15 +01:00
gfileutils: Remove extra fclose()
This is a regression introduced by:
commit 6ac8e6108c
Author: Matthias Clasen <mclasen@redhat.com>
Date: Tue Jun 14 10:12:46 2011 -0400
Don't leak resources in error cases
This commit is contained in:
parent
e756bef2e3
commit
eef6f0add8
@ -1166,7 +1166,6 @@ write_to_temp_file (const gchar *contents,
|
||||
display_name,
|
||||
g_strerror (save_errno));
|
||||
|
||||
fclose (file);
|
||||
g_unlink (tmp_name);
|
||||
|
||||
goto out;
|
||||
|
Loading…
Reference in New Issue
Block a user