valgrind findings

This commit is contained in:
John Kerl 2015-12-28 10:13:57 -05:00
parent 368f8c5a9a
commit f4d71b201c

View file

@ -318,7 +318,6 @@ static sllv_t* mapper_join_process_sorted(lrec_t* pright_rec, context_t* pctx, v
if (pstate->popts->emit_left_unpairables) {
if (pbucket_left_unpaired != NULL && pbucket_left_unpaired->length >= 0) {
sllv_transfer(pout_recs, pbucket_left_unpaired);
sllv_free(pbucket_left_unpaired);
}
}
@ -335,6 +334,7 @@ static sllv_t* mapper_join_process_sorted(lrec_t* pright_rec, context_t* pctx, v
if (!produced_right)
lrec_free(pright_rec);
sllv_free(pbucket_left_unpaired);
return pout_recs;
}