projects
/
postgis
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
042fa4a
)
Plug leak in lwt_GetEdgeByPoint
author
Sandro Santilli
<strk@keybit.net>
Tue, 15 Sep 2015 14:58:09 +0000
(14:58 +0000)
committer
Sandro Santilli
<strk@keybit.net>
Tue, 15 Sep 2015 14:58:09 +0000
(14:58 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@14068
b70326c6
-7e19-0410-871a-
916f4a2858ee
liblwgeom/lwgeom_topo.c
patch
|
blob
|
history
diff --git
a/liblwgeom/lwgeom_topo.c
b/liblwgeom/lwgeom_topo.c
index dca5c4c9959a26340f156657df1256d6a76ea921..cd12c99d7dd48ee4c75c504d489ddf72ee9c5fef 100644
(file)
--- a/
liblwgeom/lwgeom_topo.c
+++ b/
liblwgeom/lwgeom_topo.c
@@
-4750,6
+4750,8
@@
lwt_GetEdgeByPoint(LWT_TOPOLOGY *topo, LWPOINT *pt, double tol)
else id = e->edge_id;
}
+ if ( num ) _lwt_release_edges(elem, num);
+
return id;
}