PostGIS  2.2.8dev-r@@SVN_REVISION@@

◆ free_dumper_config()

static void free_dumper_config ( SHPDUMPERCONFIG config)
static

Definition at line 1086 of file shp2pgsql-gui.c.

References free(), shp_dumper_config::geo_col_name, shp_dumper_config::schema, shp_dumper_config::shp_file, and shp_dumper_config::table.

Referenced by pgui_action_handle_table_remove().

1087 {
1088 
1089  if (config->table)
1090  free(config->table);
1091 
1092  if (config->schema)
1093  free(config->schema);
1094 
1095  if (config->geo_col_name)
1096  free(config->geo_col_name);
1097 
1098  if (config->shp_file)
1099  free(config->shp_file);
1100 
1101  /* Free the config itself */
1102  free(config);
1103 }
void free(void *)
Here is the call graph for this function:
Here is the caller graph for this function: