From aa7b4ede03764a5701a477b601720a32c88d8e42 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Fri, 16 Jan 2015 09:43:49 -0800 Subject: Fix missing call to destroy library in embedder test. 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 --- testing/embedder_test.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'testing') 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_; } -- cgit v1.2.3