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:
Colin Walters 2012-06-21 12:00:04 -04:00
parent e756bef2e3
commit eef6f0add8

View File

@ -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;