PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ ReleasePolygons()

void ReleasePolygons ( Ring **  polys,
int  npolys 
)

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

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