From: John Darrington Date: Thu, 2 Aug 2012 18:54:18 +0000 (+0200) Subject: Fix leak in render-test X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=faa1da8f10b1e22c7b1ec37e9cbcb94cbd8b4260;p=pspp Fix leak in render-test --- 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");