Index: fpdfsdk/src/javascript/JS_Runtime.cpp |
diff --git a/fpdfsdk/src/javascript/JS_Runtime.cpp b/fpdfsdk/src/javascript/JS_Runtime.cpp |
index f21819ac17424cc80bb88dbf6899769bb756e6d0..2343eb3a4354a2289f3ec1f56f1772d3c62692c4 100644 |
--- a/fpdfsdk/src/javascript/JS_Runtime.cpp |
+++ b/fpdfsdk/src/javascript/JS_Runtime.cpp |
@@ -65,8 +65,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) |