From faa1da8f10b1e22c7b1ec37e9cbcb94cbd8b4260 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Thu, 2 Aug 2012 20:54:18 +0200 Subject: [PATCH] Fix leak in render-test --- tests/output/render-test.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/output/render-test.c b/tests/output/render-test.c index 91fd76c415..0376e5b49b 100644 --- a/tests/output/render-test.c +++ b/tests/output/render-test.c @@ -122,7 +122,10 @@ configure_drivers (int width, int length) string_map_destroy (&tmp); if (draw_mode) + { + string_map_destroy (&options); return; + } /* Render to render.txt. */ string_map_replace (&options, "output-file", "render.txt"); -- 2.30.2