diff options
author | weili <weili@chromium.org> | 2016-08-19 16:19:46 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-08-19 16:19:46 -0700 |
commit | 9b777deb00fb50dba37ccc1ee69767c6e04a3ee4 (patch) | |
tree | 5563d0ad14fab5decc89be923c1d9cc330cb20d1 /fpdfsdk/cpdfsdk_xfaannothandler.cpp | |
parent | 19ecc23e30f0d5368a703d751afd718a0c6434f6 (diff) | |
download | pdfium-9b777deb00fb50dba37ccc1ee69767c6e04a3ee4.tar.xz |
Fix an embedder test with leaked page objectchromium/2836chromium/2835
The public API FPDFPage_New() incorrectly said to use FPDFPage_Delete()
instead of FPDF_ClosePage() to free the new page. This led to a page object
leak in an embedder test. Correct the public API description
as well as its usage in the embedder test.
BUG=pdfium:242
Review-Url: https://codereview.chromium.org/2260683003
Diffstat (limited to 'fpdfsdk/cpdfsdk_xfaannothandler.cpp')
0 files changed, 0 insertions, 0 deletions