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

◆ ReleasePolygons()

void ReleasePolygons ( Ring **  polys,
int  npolys 
)

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

589{
590 int pi;
591
592 /* Release all memory */
593 for (pi = 0; pi < npolys; pi++)
594 {
595 Ring *Poly, *temp;
596 Poly = polys[pi];
597 while (Poly != NULL)
598 {
599 temp = Poly;
600 Poly = Poly->next;
601 free(temp->list);
602 free(temp);
603 }
604 }
605
606 free(polys);
607}
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: