Fix a possible memory leak

This commit is contained in:
Simon Levermann 2013-08-11 17:51:10 +02:00
parent c0d5fe9b5b
commit a34403e33b

View File

@ -410,6 +410,7 @@ int main(int argc, char *argv[])
strcat(DATA_FILE, CONFIGDIR); strcat(DATA_FILE, CONFIGDIR);
strcat(DATA_FILE, "data"); strcat(DATA_FILE, "data");
} }
free(user_config_dir);
/* This is broken */ /* This is broken */
int f_loadfromfile = 1; int f_loadfromfile = 1;