tool_cfgable: Introduced config_free() function

This commit is contained in:
Steve Holme 2014-02-07 19:29:46 +00:00
parent 67d14ab98f
commit 3b929b6a65
3 changed files with 10 additions and 4 deletions

View file

@ -197,8 +197,8 @@ int main(int argc, char *argv[])
#endif
/* Free the config structure */
free_config_fields(config);
Curl_safefree(config);
config_free(config);
config = NULL;
}
else {
helpf(stderr, "error initializing curl\n");