mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-05-09 23:43:11 +02:00
tests/unix-streams: Free the cancelled error on cancelled cancellable
Helps with: https://gitlab.gnome.org/GNOME/glib/-/issues/333
This commit is contained in:
parent
0d823aa926
commit
d40ef833e3
@ -147,6 +147,7 @@ main_thread_skipped (GObject *source, GAsyncResult *res, gpointer user_data)
|
|||||||
if (g_cancellable_is_cancelled (main_cancel))
|
if (g_cancellable_is_cancelled (main_cancel))
|
||||||
{
|
{
|
||||||
do_main_cancel (out);
|
do_main_cancel (out);
|
||||||
|
g_clear_error (&err);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user