mirror of
https://github.com/johnkerl/miller.git
synced 2026-07-22 23:48:30 +00:00
valgrind findings
This commit is contained in:
parent
2cea34fd70
commit
db06f185ef
1 changed files with 2 additions and 0 deletions
|
|
@ -1653,12 +1653,14 @@ void mlr_dsl_cst_statement_free(mlr_dsl_cst_statement_t* pstatement) {
|
|||
rval_evaluator_t* phandler = pstatement->subr_callsite_argument_evaluators[i];
|
||||
phandler->pfree_func(phandler);
|
||||
}
|
||||
free(pstatement->subr_callsite_argument_evaluators);
|
||||
}
|
||||
|
||||
if (pstatement->subr_callsite_arguments != NULL) {
|
||||
for (int i = 0; i < pstatement->subr_callsite_arity; i++) {
|
||||
mv_free(&pstatement->subr_callsite_arguments[i]);
|
||||
}
|
||||
free(pstatement->subr_callsite_arguments);
|
||||
}
|
||||
|
||||
if (pstatement->preturn_evaluator != NULL) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue