mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-13 07:56:17 +01:00
gio/tests/async-splice-output-stream: Fix a memory leak
This commit is contained in:
parent
d129395fe2
commit
dd69955e58
@ -63,6 +63,7 @@ test_copy_chunks_splice_cb (GObject *source,
|
|||||||
if (data->flags & TEST_CANCEL)
|
if (data->flags & TEST_CANCEL)
|
||||||
{
|
{
|
||||||
g_assert_error (error, G_IO_ERROR, G_IO_ERROR_CANCELLED);
|
g_assert_error (error, G_IO_ERROR, G_IO_ERROR_CANCELLED);
|
||||||
|
g_error_free (error);
|
||||||
g_main_loop_quit (data->main_loop);
|
g_main_loop_quit (data->main_loop);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user