aboutsummaryrefslogtreecommitdiffstats
path: root/addons/ooh323c/src/ooCmdChannel.c
diff options
context:
space:
mode:
Diffstat (limited to 'addons/ooh323c/src/ooCmdChannel.c')
-rw-r--r--addons/ooh323c/src/ooCmdChannel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/ooh323c/src/ooCmdChannel.c b/addons/ooh323c/src/ooCmdChannel.c
index d88ac7942..ff3988273 100644
--- a/addons/ooh323c/src/ooCmdChannel.c
+++ b/addons/ooh323c/src/ooCmdChannel.c
@@ -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);