diff --git a/mozilla/modules/plugin/tools/tester/common/np_entry.cpp b/mozilla/modules/plugin/tools/tester/common/np_entry.cpp index 685403fd376..fe65e5c90a7 100644 --- a/mozilla/modules/plugin/tools/tester/common/np_entry.cpp +++ b/mozilla/modules/plugin/tools/tester/common/np_entry.cpp @@ -51,6 +51,10 @@ NPNetscapeFuncs NPNFuncs; NPError OSCALL NP_Shutdown() { + if (pLogger) { + delete pLogger; + pLogger = NULL; + } return NPERR_NO_ERROR; }