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:
parent
f5ae660c70
commit
6298afabcb
|
@ -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) :
|
||||
|
|
Loading…
Reference in New Issue