Fix several recently-introduced bugs in g_output_stream_write_async()
authorDan Winship <danw@gnome.org>
Fri, 27 Apr 2012 13:27:38 +0000 (09:27 -0400)
committerDan Winship <danw@gnome.org>
Fri, 27 Apr 2012 13:27:38 +0000 (09:27 -0400)
commitfd3ec4df87ce05f364799b7eb8b0219420d755c4
tree7f44a22604b21b3e13dcd969e8ab2ac2dcfa2e86
parent00285b7517a63a243a5b61b738de5eea957ae767
Fix several recently-introduced bugs in g_output_stream_write_async()

g_output_stream_write_async() was not initializing the newly-added
members of the WriteData structure, causing various problems.

Also, g_input_stream_read_async() was now leaking its cancellable. Fix
that as well.

https://bugzilla.gnome.org/show_bug.cgi?id=674612
gio/ginputstream.c
gio/goutputstream.c