diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-01-16 09:43:49 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-01-16 09:43:49 -0800 |
commit | aa7b4ede03764a5701a477b601720a32c88d8e42 (patch) | |
tree | bf5801f2a275b6eb8cda1e5c05e4fd2e5fbc1ad5 | |
parent | 74b91b279d0dee175c2e461ffa4fcc7fe5002a6e (diff) | |
download | pdfium-chromium/2286.tar.xz |
Fix missing call to destroy library in embedder test.chromium/2289chromium/2288chromium/2287chromium/2286chromium/2285chromium/2284chromium/2283chromium/2282
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.cpp | 1 |
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_; } |