diff options
author | Bo Xu <bo_xu@foxitsoftware.com> | 2014-09-03 13:30:43 -0700 |
---|---|---|
committer | Bo Xu <bo_xu@foxitsoftware.com> | 2014-09-03 13:30:43 -0700 |
commit | bb3c1a29348511afdc140cccdf5b1f5d0292794c (patch) | |
tree | 6af3eb03b3928e9bb12033ad9a87565ce81bd7d9 /build | |
parent | 5f8a503b2a8701c5c4f6e0aadf334affcdd03d28 (diff) | |
download | pdfium-bb3c1a29348511afdc140cccdf5b1f5d0292794c.tar.xz |
Allocate m_pCompData when |m_nComponents| is updated.
When |m_nComponents| is changed from loading stream information,
previously allocated memory that depends on |m_nComponents| needes to be freed
and allocated again to enforce memory size consistency.
BUG=409695
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/528163002
Diffstat (limited to 'build')
0 files changed, 0 insertions, 0 deletions