From 45eb72154ce37f584c7c64c41bd46d6ff55fa74b Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Wed, 6 Jul 2011 06:46:38 +0000 Subject: [PATCH] properly release lwgeom objec in test_misc_area git-svn-id: http://svn.osgeo.org/postgis/trunk@7598 b70326c6-7e19-0410-871a-916f4a2858ee --- liblwgeom/cunit/cu_misc.c | 1 + 1 file changed, 1 insertion(+) 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) -- 2.50.1