PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ lwgeom_parser_result_free()

void lwgeom_parser_result_free ( LWGEOM_PARSER_RESULT parser_result)

Definition at line 921 of file lwin_wkt.c.

922{
923 if ( parser_result->geom )
924 {
925 lwgeom_free(parser_result->geom);
926 parser_result->geom = 0;
927 }
928 if ( parser_result->serialized_lwgeom )
929 {
930 lwfree(parser_result->serialized_lwgeom );
931 parser_result->serialized_lwgeom = 0;
932 }
933 /* We don't free parser_result->message because
934 it is a const *char */
935}
void lwgeom_free(LWGEOM *geom)
Definition lwgeom.c:1246
void lwfree(void *mem)
Definition lwutil.c:248

References struct_lwgeom_parser_result::geom, lwfree(), lwgeom_free(), and struct_lwgeom_parser_result::serialized_lwgeom.

Referenced by cu_twkb_in(), cu_wkb_in(), cu_wkt_in(), LWGEOM_from_text(), LWGEOM_in(), test_wkt_double(), and test_wkt_in_errlocation().

Here is the call graph for this function:
Here is the caller graph for this function: