Fix a leak in CJBig2_Context.
authorLei Zhang <thestig@chromium.org>
Thu, 24 Sep 2015 19:56:29 +0000 (12:56 -0700)
committerLei Zhang <thestig@chromium.org>
Thu, 24 Sep 2015 19:56:29 +0000 (12:56 -0700)
commit01c1e54a506329b36f87b0e37d3b419b70973342
tree3ac9b8209141c06439635a77690143e9c0c2771f
parent630a28442364f03c1d3d9b48873da42755e1fddf
Fix a leak in CJBig2_Context.

- Remove dead code
- Use unique_ptr

BUG=pdfium:202
R=tsepez@chromium.org

Review URL: https://codereview.chromium.org/1365903002 .
core/src/fxcodec/codec/fx_codec_jbig.cpp
core/src/fxcodec/jbig2/JBig2_Context.cpp
core/src/fxcodec/jbig2/JBig2_Context.h