fix memory leak in mlr count

This commit is contained in:
John Kerl 2021-08-01 11:49:33 -04:00
parent b226706ac2
commit 86f31f2f9b

View file

@ -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();