Index: fpdfsdk/src/fpdf_transformpage.cpp |
diff --git a/fpdfsdk/src/fpdf_transformpage.cpp b/fpdfsdk/src/fpdf_transformpage.cpp |
index dca0c23a565a2421df7f6db0b63e08b711e343ab..5ede62692bea18e53cfbf08085fdfdf9397f5f57 100644 |
--- a/fpdfsdk/src/fpdf_transformpage.cpp |
+++ b/fpdfsdk/src/fpdf_transformpage.cpp |
@@ -211,8 +211,7 @@ DLLEXPORT FPDF_CLIPPATH STDCALL FPDF_CreateClipPath(float left, float bottom, fl |
DLLEXPORT void STDCALL FPDF_DestroyClipPath(FPDF_CLIPPATH clipPath) |
{ |
- if(clipPath) |
- delete (CPDF_ClipPath*)clipPath; |
+ delete (CPDF_ClipPath*)clipPath; |
} |
void OutputPath(CFX_ByteTextBuf& buf, CPDF_Path path) |