PostGIS  3.7.0dev-r@@SVN_REVISION@@

◆ free_loader_config()

static void free_loader_config ( SHPLOADERCONFIG config)
static

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

1006 {
1007 
1008  if (config->table)
1009  free(config->table);
1010 
1011  if (config->schema)
1012  free(config->schema);
1013 
1014  if (config->geo_col)
1015  free(config->geo_col);
1016 
1017  if (config->shp_file)
1018  free(config->shp_file);
1019 
1020  if (config->encoding)
1021  free(config->encoding);
1022 
1023  if (config->tablespace)
1024  free(config->tablespace);
1025 
1026  if (config->idxtablespace)
1027  free(config->idxtablespace);
1028 
1029  /* Free the config itself */
1030  free(config);
1031 }
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: