[postgis-tickets] r15622 - Fix memory leak in unit test
Daniel Baston
dbaston at gmail.com
Mon Sep 4 10:55:05 PDT 2017
Author: dbaston
Date: 2017-09-04 10:55:05 -0700 (Mon, 04 Sep 2017)
New Revision: 15622
Modified:
trunk/liblwgeom/cunit/cu_lwstroke.c
Log:
Fix memory leak in unit test
Modified: trunk/liblwgeom/cunit/cu_lwstroke.c
===================================================================
--- trunk/liblwgeom/cunit/cu_lwstroke.c 2017-09-04 17:42:11 UTC (rev 15621)
+++ trunk/liblwgeom/cunit/cu_lwstroke.c 2017-09-04 17:55:05 UTC (rev 15622)
@@ -206,6 +206,7 @@
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
More information about the postgis-tickets
mailing list