Free the global X509 certificate root store on shutdown

Otherwise LeakSanitizer reports its contents as leaked.
This commit is contained in:
Jon Siwek 2019-12-19 18:46:30 -08:00
parent 447c3712cf
commit bf90587cb8
4 changed files with 78 additions and 40 deletions

View file

@ -22,6 +22,12 @@ public:
config.description = "X509 and OCSP analyzer";
return config;
}
void Done() override
{
plugin::Plugin::Done();
::file_analysis::X509::FreeRootStore();
}
} plugin;
}