From 2b8d07c590249991fae975652aae86f5fca91f81 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 23 Jan 2001 00:27:51 +0000 Subject: [PATCH] Bug fix. --- lash.c | 2 -- sh.c | 2 -- shell/lash.c | 2 -- 3 files changed, 6 deletions(-) diff --git a/lash.c b/lash.c index 9e6d09565..52c87ee7f 100644 --- a/lash.c +++ b/lash.c @@ -1665,8 +1665,6 @@ static int busy_loop(FILE * input) #ifdef BB_FEATURE_CLEAN_UP void free_memory(void) { - if (prompt_str) - free(prompt_str); if (cwd) free(cwd); if (local_pending_command) diff --git a/sh.c b/sh.c index 9e6d09565..52c87ee7f 100644 --- a/sh.c +++ b/sh.c @@ -1665,8 +1665,6 @@ static int busy_loop(FILE * input) #ifdef BB_FEATURE_CLEAN_UP void free_memory(void) { - if (prompt_str) - free(prompt_str); if (cwd) free(cwd); if (local_pending_command) diff --git a/shell/lash.c b/shell/lash.c index 9e6d09565..52c87ee7f 100644 --- a/shell/lash.c +++ b/shell/lash.c @@ -1665,8 +1665,6 @@ static int busy_loop(FILE * input) #ifdef BB_FEATURE_CLEAN_UP void free_memory(void) { - if (prompt_str) - free(prompt_str); if (cwd) free(cwd); if (local_pending_command) -- 2.25.1