ast_calloc already reports out of memory conditions (issue 7343)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34240 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.4
Tilghman Lesher 20 years ago
parent 83e64c7c94
commit f5d54051fe

@ -178,7 +178,6 @@ static int osp_buildProvider(
p = ast_calloc(1, sizeof(*p));
if (!p) {
ast_log(LOG_ERROR, "Out of memory\n");
return(-1);
}

Loading…
Cancel
Save