Revert "config: free include path on successful load"

This reverts commit 92450883d7.
This commit is contained in:
Drew DeVault 2018-07-16 21:00:57 -04:00
parent 9c8d73dad6
commit db3a363734

View File

@ -474,7 +474,6 @@ static bool load_include_config(const char *path, const char *parent_dir,
list_del(config->config_chain, index); list_del(config->config_chain, index);
return false; return false;
} }
free(real_path);
// restore current_config_path // restore current_config_path
config->current_config_path = parent_config; config->current_config_path = parent_config;