set_ssl_ca_file: don't try unreffing tlsdb if it's NULL
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Thu, 17 Jan 2013 09:59:13 +0000 (10:59 +0100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Thu, 17 Jan 2013 10:00:32 +0000 (11:00 +0100)
commit91f1eea16dac133609a9a083f7e34d5d4ce44003
tree47619b1406b0afc1c15758822fa3753830525886
parentfd9566988e2fd19b8b48b74e5ec856cbe0ac4303
set_ssl_ca_file: don't try unreffing tlsdb if it's NULL

If g_tls_file_database_new() failed for any reason but
G_TLS_ERROR_UNAVAILABLE, we don't create a fallback DB and so tlsdb stays
NULL.

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