Index: fpdfsdk/src/javascript/JS_Runtime.cpp |
diff --git a/fpdfsdk/src/javascript/JS_Runtime.cpp b/fpdfsdk/src/javascript/JS_Runtime.cpp |
index 2ffc9ff9889786c34386c480f20bd8aafcbc889d..bfea274eed43e81f4a3adaea0a14629e3fcac899 100644 |
--- a/fpdfsdk/src/javascript/JS_Runtime.cpp |
+++ b/fpdfsdk/src/javascript/JS_Runtime.cpp |
@@ -63,8 +63,7 @@ void CJS_RuntimeFactory::Release() |
void CJS_RuntimeFactory::DeleteJSRuntime(IFXJS_Runtime* pRuntime) |
{ |
- if(pRuntime) |
- delete (CJS_Runtime*)pRuntime; |
+ delete (CJS_Runtime*)pRuntime; |
} |
CJS_GlobalData* CJS_RuntimeFactory::NewGlobalData(CPDFDoc_Environment* pApp) |