lc not found - it's warning, not error,
[asterisk/asterisk.git] / addons / ooh323c / src / ooCmdChannel.c
index d88ac79..ff39882 100644 (file)
@@ -56,7 +56,7 @@ int ooCreateCallCmdConnection(OOH323CallData* call)
 
     OOTRACEINFO2("INFO: create cmd connect for call: %lx\n", call);
 
-   call->CmdChanLock = malloc(sizeof(ast_mutex_t));
+   call->CmdChanLock = ast_calloc(1, sizeof(ast_mutex_t));
    ast_mutex_init(call->CmdChanLock);