summaryrefslogtreecommitdiff
path: root/third_party/libopenjpeg20/function_list.h
diff options
context:
space:
mode:
authorRyan Harrison <rharrison@chromium.org>2018-06-01 18:02:24 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-06-01 18:02:24 +0000
commitc05ddc26a1e9c150d8f6ce60b08ea0b595143d9d (patch)
tree8784f367dae47bf821905a3d57a0f80495f393e4 /third_party/libopenjpeg20/function_list.h
parentb80edf3fcb286c3265341c8905f0885c1d535d08 (diff)
downloadpdfium-c05ddc26a1e9c150d8f6ce60b08ea0b595143d9d.tar.xz
Clean up some issues found in CXFA_TextLayout
Initialize pCharPos to non-NULL, so that later code can depend on it != nullptr, avoiding a potential call to memset on nullptr. Additionally get rid of a free then alloc pattern and just use realloc. Later on remove updates to fBaseLineTemp that have not effect, since it isn't read after them. Issues found with Clang Static Analyzer. Change-Id: Iff175e20cd8860d263a56a24c8781e214c61d02c Reviewed-on: https://pdfium-review.googlesource.com/33533 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'third_party/libopenjpeg20/function_list.h')
0 files changed, 0 insertions, 0 deletions