aboutsummaryrefslogtreecommitdiff
path: root/lash.c
diff options
context:
space:
mode:
Diffstat (limited to 'lash.c')
-rw-r--r--lash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lash.c b/lash.c
index 0af669116..22e3c779e 100644
--- a/lash.c
+++ b/lash.c
@@ -1507,8 +1507,8 @@ static int busy_loop(FILE * input)
1507#ifdef BB_FEATURE_CLEAN_UP 1507#ifdef BB_FEATURE_CLEAN_UP
1508void free_memory(void) 1508void free_memory(void)
1509{ 1509{
1510 if (cwd) { 1510 if (cwd && cwd!=unknown) {
1511 free(cwd); 1511 free((char*)cwd);
1512 } 1512 }
1513 if (local_pending_command) 1513 if (local_pending_command)
1514 free(local_pending_command); 1514 free(local_pending_command);