GSocks5Proxy: don't crash if parsing negotiation reply fails
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Thu, 2 May 2013 15:50:01 +0000 (16:50 +0100)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Thu, 2 May 2013 17:37:25 +0000 (18:37 +0100)
commit769e3edbe0f658ecaf22d7352486aad176095328
tree928eebce4445c700bd0ed67fd41210327e57941e
parenteda37dbc3f547d785e4e8941abd320d1292e93e7
GSocks5Proxy: don't crash if parsing negotiation reply fails

The GError should be initialized to NULL, otherwise we'll
"pile up" errors, then try to free an uninitialized pointer.

Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=699493
gio/gsocks5proxy.c