aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-01-23 00:27:51 +0000
committerEric Andersen <andersen@codepoet.org>2001-01-23 00:27:51 +0000
commit2b8d07c590249991fae975652aae86f5fca91f81 (patch)
tree1ada80cec9b5a1427c2a2a7f47b6626fb1ef2ed4
parent9136e3c84e6b49a6d578043de874317f595cafe0 (diff)
downloadbusybox-w32-2b8d07c590249991fae975652aae86f5fca91f81.tar.gz
busybox-w32-2b8d07c590249991fae975652aae86f5fca91f81.tar.bz2
busybox-w32-2b8d07c590249991fae975652aae86f5fca91f81.zip
Bug fix.
-rw-r--r--lash.c2
-rw-r--r--sh.c2
-rw-r--r--shell/lash.c2
3 files changed, 0 insertions, 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)
1665#ifdef BB_FEATURE_CLEAN_UP 1665#ifdef BB_FEATURE_CLEAN_UP
1666void free_memory(void) 1666void free_memory(void)
1667{ 1667{
1668 if (prompt_str)
1669 free(prompt_str);
1670 if (cwd) 1668 if (cwd)
1671 free(cwd); 1669 free(cwd);
1672 if (local_pending_command) 1670 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)
1665#ifdef BB_FEATURE_CLEAN_UP 1665#ifdef BB_FEATURE_CLEAN_UP
1666void free_memory(void) 1666void free_memory(void)
1667{ 1667{
1668 if (prompt_str)
1669 free(prompt_str);
1670 if (cwd) 1668 if (cwd)
1671 free(cwd); 1669 free(cwd);
1672 if (local_pending_command) 1670 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)
1665#ifdef BB_FEATURE_CLEAN_UP 1665#ifdef BB_FEATURE_CLEAN_UP
1666void free_memory(void) 1666void free_memory(void)
1667{ 1667{
1668 if (prompt_str)
1669 free(prompt_str);
1670 if (cwd) 1668 if (cwd)
1671 free(cwd); 1669 free(cwd);
1672 if (local_pending_command) 1670 if (local_pending_command)