diff --git a/src/main.cc b/src/main.cc index 152e3c77e9..e8f414fe32 100644 --- a/src/main.cc +++ b/src/main.cc @@ -308,6 +308,9 @@ void terminate_bro() delete plugin_mgr; delete val_mgr; + // free the global scope + pop_scope(); + reporter = 0; }