Merge remote-tracking branch 'origin/topic/jsiwek/faf-updates'

* origin/topic/jsiwek/faf-updates:
  Fix a ref counting bug.
This commit is contained in:
Robin Sommer 2013-08-01 13:28:32 -07:00
commit fcbceb50ea
3 changed files with 15 additions and 2 deletions

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