[postgis-tickets] r14509 - #3405, mem leak in point density test
Paul Ramsey
pramsey at cleverelephant.ca
Sun Dec 20 14:08:53 PST 2015
Author: pramsey
Date: 2015-12-20 14:08:53 -0800 (Sun, 20 Dec 2015)
New Revision: 14509
Modified:
trunk/liblwgeom/cunit/cu_algorithm.c
Log:
#3405, mem leak in point density test
Modified: trunk/liblwgeom/cunit/cu_algorithm.c
===================================================================
--- trunk/liblwgeom/cunit/cu_algorithm.c 2015-12-20 21:43:11 UTC (rev 14508)
+++ trunk/liblwgeom/cunit/cu_algorithm.c 2015-12-20 22:08:53 UTC (rev 14509)
@@ -1005,6 +1005,7 @@
mpt = lwgeom_to_points(geom, 0);
CU_ASSERT_EQUAL(mpt, NULL);
+ lwmpoint_free(mpt);
lwgeom_free(geom);
More information about the postgis-tickets
mailing list