From 2e2ee0e7f786dbc27a5b85b27d5e91e821069aea Mon Sep 17 00:00:00 2001 From: Nicolas Pena Date: Wed, 10 May 2017 14:42:26 -0400 Subject: Cleanup CGifDecompressor part 2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I9754da8d1bf54b328761ac9d83fcc4a3518b4a73 Reviewed-on: https://pdfium-review.googlesource.com/5230 Reviewed-by: dsinclair Commit-Queue: Nicolás Peña --- core/fxcodec/codec/fx_codec.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'core/fxcodec/codec/fx_codec.cpp') diff --git a/core/fxcodec/codec/fx_codec.cpp b/core/fxcodec/codec/fx_codec.cpp index 38f5a7608d..e695bc97c6 100644 --- a/core/fxcodec/codec/fx_codec.cpp +++ b/core/fxcodec/codec/fx_codec.cpp @@ -252,9 +252,8 @@ CFX_DIBAttribute::CFX_DIBAttribute() m_nGifTop(0), m_pGifLocalPalette(nullptr), m_nGifLocalPalNum(0), - m_nBmpCompressType(0) { - memset(m_strTime, 0, sizeof(m_strTime)); -} + m_nBmpCompressType(0) {} + CFX_DIBAttribute::~CFX_DIBAttribute() { for (const auto& pair : m_Exif) FX_Free(pair.second); -- cgit v1.2.3