Initialize lock that wasn't
authorMark Spencer <markster@digium.com>
Thu, 7 Aug 2003 05:37:15 +0000 (05:37 +0000)
committerMark Spencer <markster@digium.com>
Thu, 7 Aug 2003 05:37:15 +0000 (05:37 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1271 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_iax.c

index 7f61b62..b986991 100755 (executable)
@@ -5101,6 +5101,8 @@ int load_module(void)
 
        ast_pthread_mutex_init(&iaxq.lock);
        ast_pthread_mutex_init(&userl.lock);
+       ast_pthread_mutex_init(&peerl.lock);
+       ast_pthread_mutex_init(&dpcache_lock);
 
        ast_cli_register(&cli_show_users);
        ast_cli_register(&cli_show_channels);