gfile: Fix FD leak introduced in error path in previous commit

The hazards of ‘just a quick fix and I will push’.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
Reviewed-by: nobody
This commit is contained in:
Philip Withnall 2018-02-16 12:03:47 +00:00
parent a5778ef7c5
commit a66fc8e3a9

View File

@ -3025,7 +3025,8 @@ splice_stream_with_progress (GInputStream *in,
{
g_set_error (error, G_IO_ERROR, g_io_error_from_errno (errsv),
_("Error splicing file: %s"), g_strerror (errsv));
return FALSE;
res = FALSE;
goto out;
}
}