form: Check file pointer before dereferencing
authorRobert Swain <robert.swain@collabora.co.uk>
Tue, 31 Jan 2012 13:27:38 +0000 (14:27 +0100)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Wed, 8 Feb 2012 10:06:37 +0000 (10:06 +0000)
commitfddede281641ad6fb7cb03bde1239f038c98034b
tree3153be3ecd48daa84cae16637a837bcb634a3d3e
parent4e15123015a520c29d412edb39095dcc94af2554
form: Check file pointer before dereferencing

[It's not documented as being allowed to be NULL, but later in the
function there's a check, and GLib convention is generally that all
'out' parameters are allowed to be NULL whether it makes sense or not. -smcv]

Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Reviewed-by: Dan Winship <danw@gnome.org>
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=669479
Bug-NB: NB#297634
libsoup/soup-form.c