[postgis-tickets] [SCM] PostGIS branch master updated. 3.1.0alpha2-49-g2a3fc22

git at osgeo.org git at osgeo.org
Thu Aug 13 12:51:09 PDT 2020


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".

The branch, master has been updated
       via  2a3fc226db433850fc3dc967cf2501b79f083dfa (commit)
      from  ddd41fdc0d3d5db63d6b7ad12b609ebf341421ed (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 2a3fc226db433850fc3dc967cf2501b79f083dfa
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Thu Aug 13 12:51:02 2020 -0700

    Remove leaks in cu_wrapx tests

diff --git a/liblwgeom/cunit/cu_wrapx.c b/liblwgeom/cunit/cu_wrapx.c
index 50bb553..d3e3a37 100644
--- a/liblwgeom/cunit/cu_wrapx.c
+++ b/liblwgeom/cunit/cu_wrapx.c
@@ -87,6 +87,7 @@ static void test_lwgeom_wrapx(void)
 					LW_PARSER_CHECK_NONE)));
 	ASSERT_STRING_EQUAL(obt_wkt, exp_wkt);
 	lwfree(obt_wkt);
+	lwfree(exp_wkt);
 	lwgeom_free(ret);
 	lwgeom_free(geom);
 
@@ -107,6 +108,7 @@ static void test_lwgeom_wrapx(void)
 				);
 	ASSERT_STRING_EQUAL(obt_wkt, exp_wkt);
 	lwfree(obt_wkt);
+	lwfree(exp_wkt);
 	lwgeom_free(ret);
 	lwgeom_free(geom);
 
@@ -134,6 +136,7 @@ static void test_lwgeom_wrapx(void)
 							    LW_PARSER_CHECK_NONE)));
 	ASSERT_STRING_EQUAL(obt_wkt, exp_wkt);
 	lwfree(obt_wkt);
+	lwfree(exp_wkt);
 	lwgeom_free(ret);
 	lwgeom_free(geom);
 
@@ -158,6 +161,7 @@ static void test_lwgeom_wrapx(void)
 	    LW_PARSER_CHECK_NONE)) );
 	ASSERT_STRING_EQUAL(obt_wkt, exp_wkt);
 	lwfree(obt_wkt);
+	lwfree(exp_wkt);
 	lwgeom_free(ret);
 	lwgeom_free(geom);
 }

-----------------------------------------------------------------------

Summary of changes:
 liblwgeom/cunit/cu_wrapx.c | 4 ++++
 1 file changed, 4 insertions(+)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list