PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ free_loader_config()

static void free_loader_config ( SHPLOADERCONFIG config)
static

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

991 {
992 
993  if (config->table)
994  free(config->table);
995 
996  if (config->schema)
997  free(config->schema);
998 
999  if (config->geo_col)
1000  free(config->geo_col);
1001 
1002  if (config->shp_file)
1003  free(config->shp_file);
1004 
1005  if (config->encoding)
1006  free(config->encoding);
1007 
1008  if (config->tablespace)
1009  free(config->tablespace);
1010 
1011  if (config->idxtablespace)
1012  free(config->idxtablespace);
1013 
1014  /* Free the config itself */
1015  free(config);
1016 }
void free(void *)

References shp_loader_config::encoding, free(), shp_loader_config::geo_col, shp_loader_config::idxtablespace, shp_loader_config::schema, shp_loader_config::shp_file, shp_loader_config::table, and shp_loader_config::tablespace.

Referenced by pgui_action_handle_file_remove().

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