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

◆ ReleasePolygons()

void ReleasePolygons ( Ring **  polys,
int  npolys 
)

Definition at line 592 of file shp2pgsql-core.c.

593{
594 int pi;
595
596 /* Release all memory */
597 for (pi = 0; pi < npolys; pi++)
598 {
599 Ring *Poly, *temp;
600 Poly = polys[pi];
601 while (Poly != NULL)
602 {
603 temp = Poly;
604 Poly = Poly->next;
605 free(temp->list);
606 free(temp);
607 }
608 }
609
610 free(polys);
611}
void free(void *)
struct struct_ring * next

References free(), struct_ring::list, and struct_ring::next.

Referenced by GeneratePolygonGeometry().

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