mirror of
https://github.com/sheumann/hush.git
synced 2024-08-25 21:28:57 +00:00
Plug another memory leak
This commit is contained in:
parent
5a9d441b2c
commit
a813afc24f
1
hush.c
1
hush.c
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user