mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-22 23:29:16 +02:00
gfileutils: Remove extra fclose()
This is a regression introduced by: commit 6ac8e6108cf15884e28fe1ecd3042dfce0e11dfd 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…
x
Reference in New Issue
Block a user