mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 15:18:20 +00:00
file_analysis: include cleanup
This commit is contained in:
parent
653b3f43e0
commit
0cf5799ca6
16 changed files with 52 additions and 20 deletions
|
@ -4,6 +4,9 @@
|
|||
#include "File.h"
|
||||
#include "Analyzer.h"
|
||||
#include "Manager.h"
|
||||
#include "CompHash.h"
|
||||
#include "Val.h"
|
||||
#include "file_analysis/file_analysis.bif.h"
|
||||
|
||||
using namespace file_analysis;
|
||||
|
||||
|
@ -106,6 +109,12 @@ bool AnalyzerSet::AddMod::Perform(AnalyzerSet* set)
|
|||
return true;
|
||||
}
|
||||
|
||||
void AnalyzerSet::AddMod::Abort()
|
||||
{
|
||||
delete a;
|
||||
delete key;
|
||||
}
|
||||
|
||||
bool AnalyzerSet::Remove(const file_analysis::Tag& tag, RecordVal* args)
|
||||
{
|
||||
return Remove(tag, GetKey(tag, args));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue