From: Daniel Baston Date: Mon, 4 Sep 2017 17:55:05 +0000 (+0000) Subject: Fix memory leak in unit test X-Git-Tag: 2.4.0rc1~70 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=347c85305f2d555dde860909fc18041605315adf;p=postgis Fix memory leak in unit test git-svn-id: http://svn.osgeo.org/postgis/trunk@15622 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/liblwgeom/cunit/cu_lwstroke.c b/liblwgeom/cunit/cu_lwstroke.c index 26f9c3385..318f8300f 100644 --- a/liblwgeom/cunit/cu_lwstroke.c +++ b/liblwgeom/cunit/cu_lwstroke.c @@ -206,6 +206,7 @@ static void test_lwcurve_linearize(void) ASSERT_STRING_EQUAL(str, "LINESTRING(72 -66,34 -38,16 4,20 50)"); lwfree(str); lwgeom_free(out); + lwgeom_free(in); /* * Clockwise ~90 degrees north-west to south-west quadrants