mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 02:58:20 +00:00
Free the global X509 certificate root store on shutdown
Otherwise LeakSanitizer reports its contents as leaked.
This commit is contained in:
parent
447c3712cf
commit
bf90587cb8
4 changed files with 78 additions and 40 deletions
|
@ -22,6 +22,12 @@ public:
|
|||
config.description = "X509 and OCSP analyzer";
|
||||
return config;
|
||||
}
|
||||
|
||||
void Done() override
|
||||
{
|
||||
plugin::Plugin::Done();
|
||||
::file_analysis::X509::FreeRootStore();
|
||||
}
|
||||
} plugin;
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue