diff options
| author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-01-23 00:27:51 +0000 |
|---|---|---|
| committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-01-23 00:27:51 +0000 |
| commit | fc2d2e3371dbe137decc3aa2065acd6140226f94 (patch) | |
| tree | 1ada80cec9b5a1427c2a2a7f47b6626fb1ef2ed4 | |
| parent | fe2ea9842e273dd17617a004e7113ae06427872a (diff) | |
| download | busybox-w32-fc2d2e3371dbe137decc3aa2065acd6140226f94.tar.gz busybox-w32-fc2d2e3371dbe137decc3aa2065acd6140226f94.tar.bz2 busybox-w32-fc2d2e3371dbe137decc3aa2065acd6140226f94.zip | |
Bug fix.
git-svn-id: svn://busybox.net/trunk/busybox@1639 69ca8d6d-28ef-0310-b511-8ec308f3f277
| -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) | |||
| 1665 | #ifdef BB_FEATURE_CLEAN_UP | 1665 | #ifdef BB_FEATURE_CLEAN_UP |
| 1666 | void free_memory(void) | 1666 | void 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) |
| @@ -1665,8 +1665,6 @@ static int busy_loop(FILE * input) | |||
| 1665 | #ifdef BB_FEATURE_CLEAN_UP | 1665 | #ifdef BB_FEATURE_CLEAN_UP |
| 1666 | void free_memory(void) | 1666 | void 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 |
| 1666 | void free_memory(void) | 1666 | void 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) |
