mirror of
https://github.com/johnkerl/miller.git
synced 2026-07-25 17:04:01 +00:00
valgrind findings
This commit is contained in:
parent
bd30d8a40c
commit
23931dd01a
1 changed files with 3 additions and 0 deletions
|
|
@ -896,6 +896,8 @@ static void record_emitter_from_local_variable(
|
|||
mlhmmv_root_partial_to_lrecs(&map, pmvkeys, pmvnames, poutrecs,
|
||||
pstate->do_full_prefixing, oosvar_flatten_separator);
|
||||
|
||||
free(proot_level->states); // xxx methodize
|
||||
free(proot_level); // xxx more to free ... needs to be unhacked first.
|
||||
}
|
||||
}
|
||||
sllmv_free(pmvnames);
|
||||
|
|
@ -943,6 +945,7 @@ static void record_emitter_from_ephemeral_map(
|
|||
mlhmmv_root_partial_to_lrecs(&map, pmvkeys, pmvnames, poutrecs,
|
||||
pstate->do_full_prefixing, oosvar_flatten_separator);
|
||||
|
||||
free(proot_level->states); // xxx methodize
|
||||
free(proot_level); // xxx more to free ... needs to be unhacked first.
|
||||
}
|
||||
sllmv_free(pmvnames);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue