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_word(&temp, &ctx);
|
||||||
done_pipe(&ctx,PIPE_SEQ);
|
done_pipe(&ctx,PIPE_SEQ);
|
||||||
run_list(ctx.list_head);
|
run_list(ctx.list_head);
|
||||||
|
b_free(&temp);
|
||||||
} while (rcode != -1); /* loop on syntax errors, return on EOF */
|
} while (rcode != -1); /* loop on syntax errors, return on EOF */
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -2494,6 +2494,7 @@ int parse_stream_outer(struct in_str *inp)
|
|||||||
done_word(&temp, &ctx);
|
done_word(&temp, &ctx);
|
||||||
done_pipe(&ctx,PIPE_SEQ);
|
done_pipe(&ctx,PIPE_SEQ);
|
||||||
run_list(ctx.list_head);
|
run_list(ctx.list_head);
|
||||||
|
b_free(&temp);
|
||||||
} while (rcode != -1); /* loop on syntax errors, return on EOF */
|
} while (rcode != -1); /* loop on syntax errors, return on EOF */
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user