mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-01 19:43:03 +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;
|
||||
PTHREAD_MUTEX_LOCK(&chlock);
|
||||
tmp = malloc(sizeof(struct ast_channel));
|
||||
memset(tmp, 0, sizeof(struct ast_channel));
|
||||
if (tmp) {
|
||||
memset(tmp, 0, sizeof(struct ast_channel));
|
||||
pvt = malloc(sizeof(struct ast_channel_pvt));
|
||||
if (pvt) {
|
||||
memset(pvt, 0, sizeof(struct ast_channel_pvt));
|
||||
|
||||
Reference in New Issue
Block a user