mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 11:08:20 +00:00
Merge remote-tracking branch 'origin/topic/jsiwek/faf-updates'
* origin/topic/jsiwek/faf-updates: Fix a ref counting bug.
This commit is contained in:
commit
fcbceb50ea
3 changed files with 15 additions and 2 deletions
|
@ -15,7 +15,7 @@ static void analyzer_del_func(void* v)
|
|||
AnalyzerSet::AnalyzerSet(File* arg_file) : file(arg_file)
|
||||
{
|
||||
TypeList* t = new TypeList();
|
||||
t->Append(file_mgr->GetTagEnumType());
|
||||
t->Append(file_mgr->GetTagEnumType()->Ref());
|
||||
t->Append(BifType::Record::Files::AnalyzerArgs->Ref());
|
||||
analyzer_hash = new CompositeHash(t);
|
||||
Unref(t);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue