mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Merge pull request #431 from leeroy2098/merge
Fix a possible memory leak
This commit is contained in:
commit
1170fe153c
|
@ -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