mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
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
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user