Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 39506fb1 authored by rswindell's avatar rswindell

Moved free_cfg() to load_cfg.c

parent e22e0ca1
......@@ -75,7 +75,6 @@ BOOL read_attr_cfg(scfg_t* cfg, read_cfg_text_t* txt);
void prep_path(char* base, char* path);
void make_data_dirs(scfg_t* cfg);
void free_cfg(scfg_t* cfg);
void free_node_cfg(scfg_t* cfg);
void free_main_cfg(scfg_t* cfg);
void free_xtrn_cfg(scfg_t* cfg);
......
......@@ -879,16 +879,6 @@ BOOL read_msgs_cfg(scfg_t* cfg, read_cfg_text_t* txt)
#endif
void free_cfg(scfg_t* cfg)
{
free_node_cfg(cfg);
free_main_cfg(cfg);
free_msgs_cfg(cfg);
free_file_cfg(cfg);
free_chat_cfg(cfg);
free_xtrn_cfg(cfg);
}
void free_node_cfg(scfg_t* cfg)
{
FREE_AND_NULL(cfg->mdm_result);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment