Crash in lookup_resolved(), g_error_free()
authorMilan Crha <mcrha@redhat.com>
Thu, 15 Nov 2012 07:58:15 +0000 (08:58 +0100)
committerMilan Crha <mcrha@redhat.com>
Thu, 15 Nov 2012 07:58:15 +0000 (08:58 +0100)
commitb2c900e20590c2fce99c4c37920fd2962dd0b955
tree461c5d47e30e35774d5f4c66019a0b202a53a77e
parentf605541916587bac0888203a4ccff0173dec5835
Crash in lookup_resolved(), g_error_free()

The problem is that g_task_return_error() "eats" the error,
it doesn't create its own copy, thus, in this case, copy the error.

https://bugzilla.gnome.org/show_bug.cgi?id=688330
libsoup/soup-address.c