ast_calloc already reports out of memory conditions (issue 7343)
authorTilghman Lesher <tilghman@meg.abyt.es>
Thu, 15 Jun 2006 12:26:50 +0000 (12:26 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Thu, 15 Jun 2006 12:26:50 +0000 (12:26 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34240 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_osp.c

index 4a00a73..62115db 100644 (file)
@@ -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);
        }