Plug another memory leak

This commit is contained in:
Eric Andersen 2001-05-24 16:19:36 +00:00
parent 5a9d441b2c
commit a813afc24f
2 changed files with 2 additions and 0 deletions

1
hush.c
View File

@ -2494,6 +2494,7 @@ int parse_stream_outer(struct in_str *inp)
done_word(&temp, &ctx);
done_pipe(&ctx,PIPE_SEQ);
run_list(ctx.list_head);
b_free(&temp);
} while (rcode != -1); /* loop on syntax errors, return on EOF */
return 0;
}

View File

@ -2494,6 +2494,7 @@ int parse_stream_outer(struct in_str *inp)
done_word(&temp, &ctx);
done_pipe(&ctx,PIPE_SEQ);
run_list(ctx.list_head);
b_free(&temp);
} while (rcode != -1); /* loop on syntax errors, return on EOF */
return 0;
}