[postgis-tickets] [SCM] PostGIS branch master updated. 3.3.0rc2-739-g1be173812

git at osgeo.org git at osgeo.org
Sat Apr 22 23:11:00 PDT 2023


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  1be1738125c887842b23718ec0e35ce0f9672699 (commit)
      from  1fc0c62f9bde0d09c6e716755980e159730c231d (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 1be1738125c887842b23718ec0e35ce0f9672699
Author: Regina Obe <lr at pcorp.us>
Date:   Sun Apr 23 02:09:43 2023 -0400

    Fix crash on ST_Union
    Closes #5371 for PostGIS 3.4.0

diff --git a/postgis/lwgeom_union.c b/postgis/lwgeom_union.c
index 3a0098f65..9a2f3a1f3 100644
--- a/postgis/lwgeom_union.c
+++ b/postgis/lwgeom_union.c
@@ -251,7 +251,8 @@ void state_combine(UnionState *state1, UnionState *state2)
 	if (list1 != NIL && list2 != NIL)
 	{
 		state1->list = list_concat(list1, list2);
-		list_free(list2);
+
+		//list_free(list2);
 		state1->size += state2->size;
 	}
 	else if (list2 != NIL)

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

Summary of changes:
 postgis/lwgeom_union.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list