Bug fix.
This commit is contained in:
2
lash.c
2
lash.c
@@ -1665,8 +1665,6 @@ static int busy_loop(FILE * input)
|
|||||||
#ifdef BB_FEATURE_CLEAN_UP
|
#ifdef BB_FEATURE_CLEAN_UP
|
||||||
void free_memory(void)
|
void free_memory(void)
|
||||||
{
|
{
|
||||||
if (prompt_str)
|
|
||||||
free(prompt_str);
|
|
||||||
if (cwd)
|
if (cwd)
|
||||||
free(cwd);
|
free(cwd);
|
||||||
if (local_pending_command)
|
if (local_pending_command)
|
||||||
|
|||||||
2
sh.c
2
sh.c
@@ -1665,8 +1665,6 @@ static int busy_loop(FILE * input)
|
|||||||
#ifdef BB_FEATURE_CLEAN_UP
|
#ifdef BB_FEATURE_CLEAN_UP
|
||||||
void free_memory(void)
|
void free_memory(void)
|
||||||
{
|
{
|
||||||
if (prompt_str)
|
|
||||||
free(prompt_str);
|
|
||||||
if (cwd)
|
if (cwd)
|
||||||
free(cwd);
|
free(cwd);
|
||||||
if (local_pending_command)
|
if (local_pending_command)
|
||||||
|
|||||||
@@ -1665,8 +1665,6 @@ static int busy_loop(FILE * input)
|
|||||||
#ifdef BB_FEATURE_CLEAN_UP
|
#ifdef BB_FEATURE_CLEAN_UP
|
||||||
void free_memory(void)
|
void free_memory(void)
|
||||||
{
|
{
|
||||||
if (prompt_str)
|
|
||||||
free(prompt_str);
|
|
||||||
if (cwd)
|
if (cwd)
|
||||||
free(cwd);
|
free(cwd);
|
||||||
if (local_pending_command)
|
if (local_pending_command)
|
||||||
|
|||||||
Reference in New Issue
Block a user