mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-23 20:46:14 +01:00
gio: fix memory leak in g_buffered_output_stream_write_async()
https://bugzilla.gnome.org/show_bug.cgi?id=670085 Signed-off-by: Ravi Sankar Guntur <ravi.g@samsung.com>
This commit is contained in:
parent
eafb108caf
commit
275731e200
@ -635,12 +635,12 @@ g_buffered_output_stream_write_async (GOutputStream *stream,
|
||||
{
|
||||
wdata->fdata.flush_stream = FALSE;
|
||||
wdata->fdata.close_stream = FALSE;
|
||||
g_simple_async_result_run_in_thread (res,
|
||||
flush_buffer_thread,
|
||||
g_simple_async_result_run_in_thread (res,
|
||||
flush_buffer_thread,
|
||||
io_priority,
|
||||
cancellable);
|
||||
g_object_unref (res);
|
||||
}
|
||||
g_object_unref (res);
|
||||
}
|
||||
|
||||
static gssize
|
||||
|
Loading…
Reference in New Issue
Block a user