summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-01-16 09:43:49 -0800
committerTom Sepez <tsepez@chromium.org>2015-01-16 09:43:49 -0800
commitaa7b4ede03764a5701a477b601720a32c88d8e42 (patch)
treebf5801f2a275b6eb8cda1e5c05e4fd2e5fbc1ad5
parent74b91b279d0dee175c2e461ffa4fcc7fe5002a6e (diff)
downloadpdfium-chromium/2286.tar.xz
This was somehow lost along the way to creating embedder tests. Presumably this silently leaks in origin/master, but triggers an assert under XFA. Fixing this on master is a pre-requisite for merging all the embedder test code onto XFA. TBR=jam@chromium.org Review URL: https://codereview.chromium.org/856773003
-rw-r--r--testing/embedder_test.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/testing/embedder_test.cpp b/testing/embedder_test.cpp
index e823347ef1..74d4f2530f 100644
--- a/testing/embedder_test.cpp
+++ b/testing/embedder_test.cpp
@@ -195,6 +195,7 @@ void EmbedderTest::SetUp() {
void EmbedderTest::TearDown() {
FPDF_CloseDocument(document_);
FPDFAvail_Destroy(avail_);
+ FPDF_DestroyLibrary();
if (loader_) {
delete loader_;
}