PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ test_wkt_leak()

static void test_wkt_leak ( void  )
static

Definition at line 395 of file cu_in_wkt.c.

396 {
397  char *wkt = "TINEMPTY,";
398  char *err = cu_wkt_in(wkt, WKT_EXTENDED);
399  CU_ASSERT_STRING_EQUAL(err, "parse error - invalid geometry");
400  lwfree(err);
401 }
static char * cu_wkt_in(char *wkt, uint8_t variant)
Definition: cu_in_wkt.c:50
#define WKT_EXTENDED
Definition: liblwgeom.h:2132
void lwfree(void *mem)
Definition: lwutil.c:242

References cu_wkt_in(), lwfree(), and WKT_EXTENDED.

Referenced by wkt_in_suite_setup().

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