aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_osplookup.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_osplookup.c')
-rw-r--r--apps/app_osplookup.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/apps/app_osplookup.c b/apps/app_osplookup.c
index af9bf9877..18091e5c5 100644
--- a/apps/app_osplookup.c
+++ b/apps/app_osplookup.c
@@ -139,11 +139,6 @@ static int osplookup_exec(struct ast_channel *chan, void *data)
LOCAL_USER_ADD(u);
temp = ast_strdupa(data);
- if (!temp) {
- ast_log(LOG_ERROR, "Out of memory!\n");
- LOCAL_USER_REMOVE(u);
- return -1;
- }
AST_STANDARD_APP_ARGS(args, temp);
@@ -202,11 +197,6 @@ static int ospnext_exec(struct ast_channel *chan, void *data)
LOCAL_USER_ADD(u);
temp = ast_strdupa(data);
- if (!temp) {
- ast_log(LOG_ERROR, "Out of memory!\n");
- LOCAL_USER_REMOVE(u);
- return -1;
- }
AST_STANDARD_APP_ARGS(args, temp);
@@ -276,11 +266,6 @@ static int ospfinished_exec(struct ast_channel *chan, void *data)
LOCAL_USER_ADD(u);
temp = ast_strdupa(data);
- if (!temp) {
- ast_log(LOG_ERROR, "Out of memory!\n");
- LOCAL_USER_REMOVE(u);
- return -1;
- }
AST_STANDARD_APP_ARGS(args, temp);