memory cleanup reorganized

This commit is contained in:
jmjatlanta 2016-11-02 13:44:56 -05:00
parent 0d8f599ac9
commit d30fa55af7
6 changed files with 26 additions and 0 deletions

View file

@ -74,4 +74,11 @@ int config_path(char* config_root, char* extension, char* result, int max_len);
*/
int repo_config_init(struct RepoConfig* config, unsigned int num_bits_for_keypair, char* repo_path);
/***
* free all resources that were allocated to store config information
* @param config the config
* @returns true(1)
*/
int repo_config_free(struct RepoConfig* config);
#endif