Skip to content
Snippets Groups Projects
Commit 678e3bd8 authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #14176: sip_thread_client: zero initialize thread_desc

parent c95781a4
Branches
Tags
No related merge requests found
......@@ -30,9 +30,11 @@
#include "sip_thread_client.h"
#include "logger.h"
#include <cstring>
SIPThreadClient::SIPThreadClient() : thread_(0)
SIPThreadClient::SIPThreadClient() : thread_(0), desc_()
{
memset(desc_, 0, sizeof(desc_));
// We have to register the external thread so it can access the pjsip frameworks
if (pj_thread_register(NULL, desc_, &thread_) != PJ_SUCCESS)
ERROR("Could not register thread");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment