projects
/
postgis
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6b6a29
)
POSTGIS2GEOS conversion failures handled cleanier
author
Sandro Santilli
<strk@keybit.net>
Tue, 23 Nov 2004 16:16:26 +0000
(16:16 +0000)
committer
Sandro Santilli
<strk@keybit.net>
Tue, 23 Nov 2004 16:16:26 +0000
(16:16 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@1109
b70326c6
-7e19-0410-871a-
916f4a2858ee
lwgeom/lwgeom_geos.c
patch
|
blob
|
history
diff --git
a/lwgeom/lwgeom_geos.c
b/lwgeom/lwgeom_geos.c
index 4ab2a72dd92e908b99e0c17bf1e2a2091a59038e..01645d9e68f0c09c29491206b47ee8cec53f3196 100644
(file)
--- a/
lwgeom/lwgeom_geos.c
+++ b/
lwgeom/lwgeom_geos.c
@@
-2281,6
+2281,10
@@
POSTGIS2GEOS(PG_LWGEOM *geom)
}
ret = LWGEOM2GEOS(lwgeom);
lwgeom_release(lwgeom);
+ if ( ! ret ) {
+ lwerror("POSTGIS2GEOS conversion failed");
+ return NULL;
+ }
return ret;
}