aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAnastasis Grammenos <anastasis.gramm2@gmail.com>2018-09-28 22:31:09 +0300
committerAnastasis Grammenos <anastasis.gramm2@gmail.com>2018-09-28 22:31:09 +0300
commit0537597c4924e48b18ca79005be2103079b8d009 (patch)
tree21c0dfdd86f22e321e4b6373d81eafca9831e369 /src
parent65986f9cd9429c7876e5d2f09e4a0cd19d966fa3 (diff)
downloadck-0537597c4924e48b18ca79005be2103079b8d009.tar.gz
ck-0537597c4924e48b18ca79005be2103079b8d009.tar.bz2
ck-0537597c4924e48b18ca79005be2103079b8d009.zip
fix double free bug
Diffstat (limited to 'src')
-rw-r--r--src/confparser.c1
1 files changed, 0 insertions, 1 deletions
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