mirror of
https://github.com/sheumann/hush.git
synced 2025-01-03 00:31:16 +00:00
Bug fix.
This commit is contained in:
parent
9136e3c84e
commit
2b8d07c590
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user