From: Sandro Santilli Date: Wed, 6 Jul 2011 06:46:38 +0000 (+0000) Subject: properly release lwgeom objec in test_misc_area X-Git-Tag: 2.0.0alpha1~1244 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=45eb72154ce37f584c7c64c41bd46d6ff55fa74b;p=postgis properly release lwgeom objec in test_misc_area git-svn-id: http://svn.osgeo.org/postgis/trunk@7598 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/liblwgeom/cunit/cu_misc.c b/liblwgeom/cunit/cu_misc.c index 92d5622ed..64eec8d70 100644 --- a/liblwgeom/cunit/cu_misc.c +++ b/liblwgeom/cunit/cu_misc.c @@ -105,6 +105,7 @@ static void test_misc_area(void) geom = lwgeom_from_ewkt("LINESTRING EMPTY", PARSER_CHECK_ALL); area = lwgeom_area(geom); CU_ASSERT_DOUBLE_EQUAL(area, 0.0, 0.0001); + lwgeom_free(geom); } static void test_misc_wkb(void)