Skip to content

Commit

Permalink
sworker: convert to memory logging helper
Browse files Browse the repository at this point in the history
  • Loading branch information
pantelisk98 authored and henningw committed Apr 25, 2023
1 parent b531f6d commit 2c97669
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/sworker/sworker_mod.c
Expand Up @@ -192,7 +192,7 @@ int sworker_send_task(sip_msg_t *msg, str *gname)
}
at = (async_task_t *)shm_malloc(dsize);
if(at == NULL) {
LM_ERR("no more shm memory\n");
SHM_MEM_ERROR;
return -1;
}
memset(at, 0, dsize);
Expand Down

0 comments on commit 2c97669

Please sign in to comment.