mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-23 02:23:02 +01:00
Fix a possible memory leak
This commit is contained in:
parent
1d1bff14a2
commit
652f7aec26
1
main.c
1
main.c
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user