summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/fpdfapi/parser/fpdf_parser_decode.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/fpdfapi/parser/fpdf_parser_decode.cpp b/core/fpdfapi/parser/fpdf_parser_decode.cpp
index ddd6b1462d..77024f2f09 100644
--- a/core/fpdfapi/parser/fpdf_parser_decode.cpp
+++ b/core/fpdfapi/parser/fpdf_parser_decode.cpp
@@ -397,8 +397,6 @@ bool PDF_DataDecode(const uint8_t* src_buf,
*pImageParms = pParam;
*dest_buf = last_buf;
*dest_size = last_size;
- if (CPDF_Array* pDecoders = pDecoder->AsArray())
- pDecoders->Truncate(i + 1);
return true;
}
if (last_buf != src_buf)