Index: core/src/fpdfapi/fpdf_render/fpdf_render_pattern_embeddertest.cpp |
diff --git a/core/src/fpdfapi/fpdf_render/fpdf_render_pattern_embeddertest.cpp b/core/src/fpdfapi/fpdf_render/fpdf_render_pattern_embeddertest.cpp |
index 744c4e5ea98d46b8d48ce64c8f4d23d74ec86f31..176c923372eeb344c58d83a792cf5f2aa36b5f39 100644 |
--- a/core/src/fpdfapi/fpdf_render/fpdf_render_pattern_embeddertest.cpp |
+++ b/core/src/fpdfapi/fpdf_render/fpdf_render_pattern_embeddertest.cpp |
@@ -11,6 +11,7 @@ TEST_F(FPDFRenderPatternEmbeddertest, LoadError_547706) { |
// Test shading where object is a dictionary instead of a stream. |
EXPECT_TRUE(OpenDocument("bug_547706.pdf")); |
FPDF_PAGE page = LoadPage(0); |
- RenderPage(page); |
+ FPDF_BITMAP bitmap = RenderPage(page); |
+ FPDFBitmap_Destroy(bitmap); |
UnloadPage(page); |
} |