Index: fpdfsdk/src/fpdf_transformpage.cpp |
diff --git a/fpdfsdk/src/fpdf_transformpage.cpp b/fpdfsdk/src/fpdf_transformpage.cpp |
index 7bec77c2df4affbd26184589b2f4ec9ca845c9dd..ad6e0421793ab1a6d557b37cb17d74158b6a5f0b 100644 |
--- a/fpdfsdk/src/fpdf_transformpage.cpp |
+++ b/fpdfsdk/src/fpdf_transformpage.cpp |
@@ -222,8 +222,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) |