mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 08:38:20 +00:00
Fix reference counting of Log::Filter "config" field
Which can potentially be a minor memory leak if there's a lot of dynamic adding/removing of logging filters.
This commit is contained in:
parent
273eb19ff5
commit
bf05add542
1 changed files with 1 additions and 0 deletions
|
@ -98,6 +98,7 @@ Manager::Filter::~Filter()
|
||||||
free(fields);
|
free(fields);
|
||||||
|
|
||||||
Unref(path_val);
|
Unref(path_val);
|
||||||
|
Unref(config);
|
||||||
}
|
}
|
||||||
|
|
||||||
Manager::Stream::~Stream()
|
Manager::Stream::~Stream()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue