SoupTransport: avoid uninitialized memory read

Don't depend on setSSL() to initialize the instance, because when used
as part of the upcoming oauth2 backend, setSSL() is never called.
This commit is contained in:
Patrick Ohly 2014-09-08 16:55:31 +02:00
parent f5ae660c70
commit 6298afabcb
1 changed files with 1 additions and 0 deletions

View File

@ -33,6 +33,7 @@
SE_BEGIN_CXX
SoupTransportAgent::SoupTransportAgent(GMainLoop *loop) :
m_verifySSL(false),
m_session(soup_session_async_new()),
m_loop(loop ?
g_main_loop_ref(loop) :