mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 23:28:20 +00:00
Fix a ref counting bug.
BIT-1049 #request-merge
This commit is contained in:
parent
d21786fb23
commit
0d39e00bc4
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ static void analyzer_del_func(void* v)
|
||||||
AnalyzerSet::AnalyzerSet(File* arg_file) : file(arg_file)
|
AnalyzerSet::AnalyzerSet(File* arg_file) : file(arg_file)
|
||||||
{
|
{
|
||||||
TypeList* t = new TypeList();
|
TypeList* t = new TypeList();
|
||||||
t->Append(file_mgr->GetTagEnumType());
|
t->Append(file_mgr->GetTagEnumType()->Ref());
|
||||||
t->Append(BifType::Record::Files::AnalyzerArgs->Ref());
|
t->Append(BifType::Record::Files::AnalyzerArgs->Ref());
|
||||||
analyzer_hash = new CompositeHash(t);
|
analyzer_hash = new CompositeHash(t);
|
||||||
Unref(t);
|
Unref(t);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue