Fix a ref counting bug.

BIT-1049 #request-merge
This commit is contained in:
Jon Siwek 2013-08-01 14:39:35 -05:00
parent d21786fb23
commit 0d39e00bc4

View file

@ -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);