Commit 5fc9bd2
committed
fix(plugin): correctly free trace record on interruption
Trace records need to be freed with tracecdm_free_record instead of
free. This was done incorrectly when finalizing the message iterator.
However, the bug remained unnoticed as the record is NULL on full
iteration, hence the free() is simply a noop.
On partial iteration, the record was not properly freed, leading to a
leak and debug output.
Signed-off-by: Felix Moessbauer <[email protected]>1 parent c1e921f commit 5fc9bd2
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
585 | 585 | | |
586 | 586 | | |
587 | 587 | | |
588 | | - | |
589 | | - | |
| 588 | + | |
590 | 589 | | |
591 | 590 | | |
592 | 591 | | |
| |||
0 commit comments