summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRohan Garg <rohangarg@kubuntu.org>2012-06-22 00:52:44 +0530
committerRohan Garg <rohangarg@kubuntu.org>2012-06-22 00:52:44 +0530
commita47b3a057804d3af076c8f3a28bee8f0cbb9af43 (patch)
treed0a1901eb60a35ac770ee05b5a0b073303cd8186 /tests
parent527b08dd7eaf48d36be23012a8d194ca2601edf8 (diff)
downloadlibnice-a47b3a057804d3af076c8f3a28bee8f0cbb9af43.tar.gz
Allocate memory to stun_mutex_ptr and stun_signal_ptr
Diffstat (limited to 'tests')
-rw-r--r--tests/test-new-dribble.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test-new-dribble.c b/tests/test-new-dribble.c
index bff89dd..78936ef 100644
--- a/tests/test-new-dribble.c
+++ b/tests/test-new-dribble.c
@@ -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);