confile: cleanup set_config_log_file()

parent 2c5cd61e
...@@ -1467,12 +1467,12 @@ static int set_config_log_file(const char *key, const char *value, ...@@ -1467,12 +1467,12 @@ static int set_config_log_file(const char *key, const char *value,
int ret; int ret;
if (lxc_config_value_empty(value)) { if (lxc_config_value_empty(value)) {
free(c->logfile); free_disarm(c->logfile);
c->logfile = NULL;
return 0; return 0;
} }
/* Store these values in the lxc_conf, and then try to set for actual /*
* Store these values in the lxc_conf, and then try to set for actual
* current logging. * current logging.
*/ */
ret = set_config_path_item(&c->logfile, value); ret = set_config_path_item(&c->logfile, value);
......
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