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:
Ravi Sankar Guntur 2012-02-14 22:05:33 +05:30 committed by Colin Walters
parent eafb108caf
commit 275731e200

View File

@ -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