From 7ad681adc8d5e616165b4d3e6750f2995e782d57 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Sat, 21 Jan 2006 08:13:12 +0000 Subject: remove lots of useless checks of the result of ast_strdupa git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8379 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_curl.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'apps/app_curl.c') diff --git a/apps/app_curl.c b/apps/app_curl.c index 93d77d571..9842da4cd 100644 --- a/apps/app_curl.c +++ b/apps/app_curl.c @@ -129,11 +129,6 @@ static char *acf_curl_exec(struct ast_channel *chan, char *cmd, char *data, char LOCAL_USER_ACF_ADD(u); info = ast_strdupa(data); - if (!info) { - ast_log(LOG_ERROR, "Out of memory\n"); - LOCAL_USER_REMOVE(u); - return buf; - } AST_STANDARD_APP_ARGS(args, info); -- cgit v1.2.3