[postgis-tickets] [SCM] PostGIS branch master updated. 3.1.0alpha1-140-g96615d9

git at osgeo.org git at osgeo.org
Fri Jun 26 03:20:37 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  96615d90e6d5e4716310eca25647ee373a8535f8 (commit)
      from  3334fd0675c98c79a6a8527a05fc0e8c4c371835 (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 96615d90e6d5e4716310eca25647ee373a8535f8
Author: Sandro Santilli <strk at kbt.io>
Date:   Fri Jun 26 12:01:47 2020 +0200

    Fix release of unexpected number of edges from a returned edge ring
    
    References #4709 in master branch

diff --git a/liblwgeom/lwgeom_topo.c b/liblwgeom/lwgeom_topo.c
index 48bbc20..2bc954f 100644
--- a/liblwgeom/lwgeom_topo.c
+++ b/liblwgeom/lwgeom_topo.c
@@ -1771,7 +1771,7 @@ _lwt_MakeRingShell(LWT_TOPOLOGY *topo, LWT_ELEMID *signed_edge_ids, uint64_t num
   else if ( i != numedges )
   {
     lwfree( signed_edge_ids );
-    _lwt_release_edges(ring_edges, numedges);
+    _lwt_release_edges(ring_edges, i);
     lwerror("Unexpected error: %d edges found when expecting %d", i, numedges);
     return NULL;
   }

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

Summary of changes:
 liblwgeom/lwgeom_topo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list