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

◆ colmap_clean()

void colmap_clean ( colmap map)

Definition at line 171 of file shpcommon.c.

172{
173 int i;
174 if (map != NULL){
175 if (map->size)
176 {
177 for (i = 0; i < map->size; i++)
178 {
179 if (map->pgfieldnames[i]) free(map->pgfieldnames[i]);
180 if (map->dbffieldnames[i]) free(map->dbffieldnames[i]);
181 }
182 free(map->pgfieldnames);
183 free(map->dbffieldnames);
184 }
185 }
186}
void free(void *)
char ** pgfieldnames
Definition shpcommon.h:55
int size
Definition shpcommon.h:61
char ** dbffieldnames
Definition shpcommon.h:58

References colmap_t::dbffieldnames, free(), colmap_t::pgfieldnames, and colmap_t::size.

Referenced by ShpDumperDestroy(), and ShpLoaderDestroy().

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