Make CJBig2_Object::operator delete accept nullptr
authorVitaly Buka <vitalybuka@chromium.org>
Fri, 10 Jul 2015 22:40:59 +0000 (15:40 -0700)
committerVitaly Buka <vitalybuka@chromium.org>
Fri, 10 Jul 2015 22:40:59 +0000 (15:40 -0700)
commitaa575d4805bf7a9e83f00b56e38d4de39d90f95c
tree4330b53d7e9c5d78e2850e6b12ed26887e3810e0
parent07bb09f2ef02e310999b3c32a5eb287cfcd1c2d4
Make CJBig2_Object::operator delete accept nullptr

Standard delete operator should do noting for nullptr.
Overloaded CJBig2_Object::operator delete de-referenced
provided pointer causing crashes after
https://codereview.chromium.org/1192743004/

TBR=thestig
BUG=508197

Review URL: https://codereview.chromium.org/1230763007 .
core/src/fxcodec/jbig2/JBig2_Object.cpp