aboutsummaryrefslogtreecommitdiffstats
path: root/addons/ooh323cDriver.c
diff options
context:
space:
mode:
Diffstat (limited to 'addons/ooh323cDriver.c')
-rw-r--r--addons/ooh323cDriver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/ooh323cDriver.c b/addons/ooh323cDriver.c
index 604336c21..259c35da8 100644
--- a/addons/ooh323cDriver.c
+++ b/addons/ooh323cDriver.c
@@ -145,7 +145,7 @@ int ooh323c_start_call_thread(ooCallData *call) {
/* make new thread */
if (cur == NULL) {
- if (!(cur = ast_malloc(sizeof(struct callthread)))) {
+ if (!(cur = ast_calloc(1, sizeof(struct callthread)))) {
ast_log(LOG_ERROR, "Unable to allocate thread structure for call %s\n",
call->callToken);
return -1;