mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-19 16:20:37 +00:00
Minor formatting fix
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1231 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -279,8 +279,8 @@ struct ast_channel *ast_channel_alloc(int needqueue)
|
|||||||
return NULL;
|
return NULL;
|
||||||
PTHREAD_MUTEX_LOCK(&chlock);
|
PTHREAD_MUTEX_LOCK(&chlock);
|
||||||
tmp = malloc(sizeof(struct ast_channel));
|
tmp = malloc(sizeof(struct ast_channel));
|
||||||
memset(tmp, 0, sizeof(struct ast_channel));
|
|
||||||
if (tmp) {
|
if (tmp) {
|
||||||
|
memset(tmp, 0, sizeof(struct ast_channel));
|
||||||
pvt = malloc(sizeof(struct ast_channel_pvt));
|
pvt = malloc(sizeof(struct ast_channel_pvt));
|
||||||
if (pvt) {
|
if (pvt) {
|
||||||
memset(pvt, 0, sizeof(struct ast_channel_pvt));
|
memset(pvt, 0, sizeof(struct ast_channel_pvt));
|
||||||
|
|||||||
Reference in New Issue
Block a user