Minor formatting fix

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1231 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2003-07-28 14:27:05 +00:00
parent e2ca759d56
commit 3119961e8c

View File

@@ -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));