PostGIS  3.7.0dev-r@@SVN_REVISION@@

◆ free_loader_config()

static void free_loader_config ( SHPLOADERCONFIG config)
static

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

993 {
994 
995  if (config->table)
996  free(config->table);
997 
998  if (config->schema)
999  free(config->schema);
1000 
1001  if (config->geo_col)
1002  free(config->geo_col);
1003 
1004  if (config->shp_file)
1005  free(config->shp_file);
1006 
1007  if (config->encoding)
1008  free(config->encoding);
1009 
1010  if (config->tablespace)
1011  free(config->tablespace);
1012 
1013  if (config->idxtablespace)
1014  free(config->idxtablespace);
1015 
1016  /* Free the config itself */
1017  free(config);
1018 }
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: