1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-12-23 11:23:26 +01:00

Fix a possible memory leak

This commit is contained in:
Simon Levermann 2013-08-11 17:51:10 +02:00
parent 1d1bff14a2
commit 652f7aec26

1
main.c
View File

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