diff options
author | Nicolas Pena <npm@chromium.org> | 2017-05-10 14:42:26 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-05-10 19:17:02 +0000 |
commit | 2e2ee0e7f786dbc27a5b85b27d5e91e821069aea (patch) | |
tree | 59b2ff786764b32ffa8fa9f80300462971549fff /core/fxcodec/codec/fx_codec.cpp | |
parent | 21f88ffe5c2c9fc7af9a7bcc4a654ad1008ab17e (diff) | |
download | pdfium-2e2ee0e7f786dbc27a5b85b27d5e91e821069aea.tar.xz |
Cleanup CGifDecompressor part 2
Change-Id: I9754da8d1bf54b328761ac9d83fcc4a3518b4a73
Reviewed-on: https://pdfium-review.googlesource.com/5230
Reviewed-by: dsinclair <dsinclair@chromium.org>
Commit-Queue: Nicolás Peña <npm@chromium.org>
Diffstat (limited to 'core/fxcodec/codec/fx_codec.cpp')
-rw-r--r-- | core/fxcodec/codec/fx_codec.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
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); |