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

◆ stringlist_release()

void stringlist_release ( stringlist_t s)
extern

Definition at line 50 of file stringlist.c.

51{
52 size_t i;
53 if (!s || !s->data) return;
54 for (i = 0; i < s->length; i++)
55 if (s->data[i]) lwfree(s->data[i]);
56 lwfree(s->data);
57 memset(s, 0, sizeof(stringlist_t));
58}
char * s
Definition cu_in_wkt.c:23
void lwfree(void *mem)
Definition lwutil.c:248

References lwfree(), and s.

Referenced by stringlist_destroy(), and test_stringlist().

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