Skip to content

Commit

Permalink
Correctly extract atomic geoms (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
mschoema authored Jan 2, 2025
1 parent 1d69d1f commit 9061205
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/postgis/postgis_mest.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ geometry_mest_extract(PG_FUNCTION_ARGS)
if (! lwtype_is_collection(gstype))
{
*nkeys = 1;
PG_RETURN_POINTER(gs);
PG_RETURN_POINTER(&gs);
}

LWGEOM *lwgeom = lwgeom_from_gserialized(gs);
Expand Down

0 comments on commit 9061205

Please sign in to comment.