mirror of
https://github.com/johnkerl/miller.git
synced 2026-01-23 02:14:13 +00:00
fix memory leak in mlr count
This commit is contained in:
parent
b226706ac2
commit
86f31f2f9b
1 changed files with 1 additions and 0 deletions
|
|
@ -172,6 +172,7 @@ static sllv_t* mapper_count_process_ungrouped(
|
|||
mapper_count_state_t* pstate = pvstate;
|
||||
if (pinrec != NULL) {
|
||||
pstate->ungrouped_count++;
|
||||
lrec_free(pinrec);
|
||||
return NULL;
|
||||
} else { // end of record stream
|
||||
lrec_t* poutrec = lrec_unbacked_alloc();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue