mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Fix memory leak when a logging plugin hook prevents a write
This commit is contained in:
parent
6f5f7df970
commit
09578c6176
1 changed files with 1 additions and 0 deletions
|
@ -920,6 +920,7 @@ bool Manager::Write(EnumVal* id, RecordVal* columns)
|
||||||
filter->fields, vals),
|
filter->fields, vals),
|
||||||
true) )
|
true) )
|
||||||
{
|
{
|
||||||
|
Unref(columns);
|
||||||
DeleteVals(filter->num_fields, vals);
|
DeleteVals(filter->num_fields, vals);
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue