Index: fpdfsdk/src/javascript/global.cpp |
diff --git a/fpdfsdk/src/javascript/global.cpp b/fpdfsdk/src/javascript/global.cpp |
index ee0591b9500ad5e84e32609d27ae288ecc9baaac..17aa00e31df40cb02a2997db154459ef23fd77ca 100644 |
--- a/fpdfsdk/src/javascript/global.cpp |
+++ b/fpdfsdk/src/javascript/global.cpp |
@@ -106,7 +106,7 @@ FX_BOOL CJS_Global::InitInstance(IFXJS_Context* cc) { |
global_alternate::global_alternate(CJS_Object* pJSObject) |
: CJS_EmbedObj(pJSObject), m_pApp(NULL) {} |
-global_alternate::~global_alternate(void) { |
+global_alternate::~global_alternate() { |
DestroyGlobalPersisitentVariables(); |
m_pApp->GetRuntimeFactory()->ReleaseGlobalData(); |
} |