Tree
- Tree:
618ffff6db72c36f7ce7ed2109c1ec480245a042
- Date:
- Message:
- template: fix possible use-after-free and drop the `render' sugar if some of the tp_* function fails, the inner code could free the template too (that's what galileo does), so `tp->tp_ret' would access free'd memory! Instead, add a local variable `tp_ret' to keep track of the return code. While here, drop the `render' shortand that adds the argument call, the template_reset function and adapt the regress.
Makefile | commits | blame |
queue.h | commits | blame |
tree.h | commits | blame |