From d6ec93b2d78985c76eb73f01597f3a7dd0212cb1 Mon Sep 17 00:00:00 2001 From: Paul Ramsey <pramsey@cleverelephant.ca> Date: Mon, 29 Jun 2015 16:57:06 +0000 Subject: [PATCH] Remove memory leak git-svn-id: http://svn.osgeo.org/postgis/trunk@13744 b70326c6-7e19-0410-871a-916f4a2858ee --- liblwgeom/cunit/cu_misc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/liblwgeom/cunit/cu_misc.c b/liblwgeom/cunit/cu_misc.c index 3513b07aa..075df7dc4 100644 --- a/liblwgeom/cunit/cu_misc.c +++ b/liblwgeom/cunit/cu_misc.c @@ -156,6 +156,8 @@ static void test_rect_count(void) box.xmax = 15; box.ymax = 15; n = lwgeom_npoints_in_rect(geom, &box); CU_ASSERT_EQUAL(5, n); + + lwgeom_free(geom); } -- 2.40.0