Commit a47b3a05 authored by Rohan Garg's avatar Rohan Garg
Browse files

Allocate memory to stun_mutex_ptr and stun_signal_ptr

parent 527b08dd
......@@ -647,6 +647,8 @@ int main(void)
stun_thread = g_thread_create (stun_thread_func,
global_mainloop,
TRUE, NULL);
stun_mutex_ptr = g_mutex_new ();
stun_signal_ptr = g_cond_new ();
#else
stun_thread = g_thread_new ("listen for STUN requests",
stun_thread_func, NULL);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment