mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-23 17:38:54 +02: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:
committed by
Colin Walters
parent
eafb108caf
commit
275731e200
@@ -635,12 +635,12 @@ g_buffered_output_stream_write_async (GOutputStream *stream,
|
|||||||
{
|
{
|
||||||
wdata->fdata.flush_stream = FALSE;
|
wdata->fdata.flush_stream = FALSE;
|
||||||
wdata->fdata.close_stream = FALSE;
|
wdata->fdata.close_stream = FALSE;
|
||||||
g_simple_async_result_run_in_thread (res,
|
g_simple_async_result_run_in_thread (res,
|
||||||
flush_buffer_thread,
|
flush_buffer_thread,
|
||||||
io_priority,
|
io_priority,
|
||||||
cancellable);
|
cancellable);
|
||||||
g_object_unref (res);
|
|
||||||
}
|
}
|
||||||
|
g_object_unref (res);
|
||||||
}
|
}
|
||||||
|
|
||||||
static gssize
|
static gssize
|
||||||
|
Reference in New Issue
Block a user