GNOME Bugzilla – Bug 729796
Leaking GTasks when calling g_task_return_error_if_cancelled()
Last modified: 2014-05-08 13:05:15 UTC
Created attachment 276137 [details] [review] 0001-Don-t-leak-tasks-in-GInputStream-and-GOutputStream-w.patch See attached patch, some other occurences of this pattern were already fixed previously in bug #726611.
in both cases, the task is unreffed by the calling function (g_input_stream_real_read_async() and g_output_stream_real_write_async())
Comment on attachment 276137 [details] [review] 0001-Don-t-leak-tasks-in-GInputStream-and-GOutputStream-w.patch How confusing, thanks :)