mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01:00
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:
parent
a5778ef7c5
commit
a66fc8e3a9
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user