main: free the global scope in terminate_bro()

Make valgrind a bit happier.
This commit is contained in:
Max Kellermann 2020-02-26 05:45:36 +01:00
parent 875bfc09a2
commit b654a68c86

View file

@ -308,6 +308,9 @@ void terminate_bro()
delete plugin_mgr;
delete val_mgr;
// free the global scope
pop_scope();
reporter = 0;
}