gsubprocess: Fix error detection logic in tests
authorStef Walter <stefw@gnome.org>
Sat, 9 Nov 2013 07:53:13 +0000 (08:53 +0100)
committerStef Walter <stefw@gnome.org>
Mon, 11 Nov 2013 06:12:00 +0000 (07:12 +0100)
commitfe3c878c53b2c8087c6c0605a36d55d61ddab3f4
tree9ffba7c03174770c743df2bb75555af77a6e3046
parent78ad171da96e15b370867b69077fa3d149920c83
gsubprocess: Fix error detection logic in tests

Various tests were depending on local_error being set by a callback
when it could never have been the case. Simplify async error detection
logic in those cases, and fix leak of GError.

https://bugzilla.gnome.org/show_bug.cgi?id=711802
gio/tests/gsubprocess.c