summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdfview_c_api_test.c
diff options
context:
space:
mode:
authorJane Liu <janeliulwq@google.com>2017-08-08 15:23:27 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-08-08 20:31:16 +0000
commit2e5f0ae97c163841c93c891aa5933adbde47e710 (patch)
treeefb44c1e304ccf5873deaaa3f3b6316c0638b187 /fpdfsdk/fpdfview_c_api_test.c
parent9f0e85ac36826e39a242f8039c2b2c333ee99f4f (diff)
downloadpdfium-2e5f0ae97c163841c93c891aa5933adbde47e710.tar.xz
Added FPDFPageObj_Destroy() for freeing page objects created
Bug=pdfium:854 Change-Id: I227418cdcb77e0aa7d48338f1ee0d753cef6bfdb Reviewed-on: https://pdfium-review.googlesource.com/10390 Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: Jane Liu <janeliulwq@google.com>
Diffstat (limited to 'fpdfsdk/fpdfview_c_api_test.c')
-rw-r--r--fpdfsdk/fpdfview_c_api_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fpdfsdk/fpdfview_c_api_test.c b/fpdfsdk/fpdfview_c_api_test.c
index d40437c278..ef5b804baa 100644
--- a/fpdfsdk/fpdfview_c_api_test.c
+++ b/fpdfsdk/fpdfview_c_api_test.c
@@ -121,6 +121,7 @@ int CheckPDFiumCApi() {
CHK(FPDFPage_GetObject);
CHK(FPDFPage_HasTransparency);
CHK(FPDFPage_GenerateContent);
+ CHK(FPDFPageObj_Destroy);
CHK(FPDFPageObj_HasTransparency);
CHK(FPDFPageObj_GetBounds);
CHK(FPDFPageObj_GetType);