From 0537597c4924e48b18ca79005be2103079b8d009 Mon Sep 17 00:00:00 2001 From: Anastasis Grammenos Date: Fri, 28 Sep 2018 22:31:09 +0300 Subject: fix double free bug --- src/confparser.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/confparser.c') diff --git a/src/confparser.c b/src/confparser.c index 0152825..ea9bb90 100644 --- a/src/confparser.c +++ b/src/confparser.c @@ -113,7 +113,6 @@ int config_file_parse(Conf *conf, UserOpt *opt) { printf("--[ Config error ]--\n" \ "%s: %s\n" \ "defined in config does not exist\n", name, conf->var); \ - free(conf->var); \ return 0; \ break; CONFIG_VARIABLES_TABLE -- cgit v1.2.3