diff options
-rw-r--r-- | lash.c | 2 | ||||
-rw-r--r-- | sh.c | 2 | ||||
-rw-r--r-- | shell/lash.c | 2 |
3 files changed, 0 insertions, 6 deletions
@@ -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) @@ -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) |