mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-08 06:12:45 +00:00
lc not found - it's warning, not error,
change malloc to ast_calloc again git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@307713 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user