mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
main: free the global scope in terminate_bro()
Make valgrind a bit happier.
This commit is contained in:
parent
875bfc09a2
commit
b654a68c86
1 changed files with 3 additions and 0 deletions
|
@ -308,6 +308,9 @@ void terminate_bro()
|
|||
delete plugin_mgr;
|
||||
delete val_mgr;
|
||||
|
||||
// free the global scope
|
||||
pop_scope();
|
||||
|
||||
reporter = 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue