[glib: 6/9] gio/tests/async-splice-output-stream: Fix a memory leak
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 6/9] gio/tests/async-splice-output-stream: Fix a memory leak
- Date: Mon, 26 Jul 2021 10:06:09 +0000 (UTC)
commit dd69955e58c2b2f702edbf0130c0cea8f37fe5ae
Author: GOUJON Évan <goujon evan gmail com>
Date: Thu Jul 22 16:44:02 2021 +0200
gio/tests/async-splice-output-stream: Fix a memory leak
gio/tests/async-splice-output-stream.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/gio/tests/async-splice-output-stream.c b/gio/tests/async-splice-output-stream.c
index fb317b733..3ac03ae67 100644
--- a/gio/tests/async-splice-output-stream.c
+++ b/gio/tests/async-splice-output-stream.c
@@ -63,6 +63,7 @@ test_copy_chunks_splice_cb (GObject *source,
if (data->flags & TEST_CANCEL)
{
g_assert_error (error, G_IO_ERROR, G_IO_ERROR_CANCELLED);
+ g_error_free (error);
g_main_loop_quit (data->main_loop);
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]