mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Fix a possible memory leak
This commit is contained in:
parent
c0d5fe9b5b
commit
a34403e33b
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user