mirror of
https://github.com/johnkerl/miller.git
synced 2026-07-18 00:45:47 +00:00
bug fix in mlr format-values (memory corruption on CSV/TSV)
This commit is contained in:
parent
09aab8f216
commit
ef6557537d
1 changed files with 1 additions and 1 deletions
|
|
@ -512,7 +512,7 @@ void lrece_update_value(lrece_t* pe, char* new_value, int new_needs_freeing) {
|
|||
return;
|
||||
}
|
||||
if (pe->free_flags & FREE_ENTRY_VALUE) {
|
||||
free(pe->key);
|
||||
free(pe->value);
|
||||
}
|
||||
pe->value = new_value;
|
||||
if (new_needs_freeing)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue