mirror of https://github.com/BOINC/boinc.git
- API: free project prefs before parsing init file
svn path=/trunk/boinc/; revision=16479
This commit is contained in:
parent
fd8470af2a
commit
a3b6ddf6ff
|
@ -505,8 +505,10 @@ int boinc_parse_init_data_file() {
|
|||
FILE* f;
|
||||
int retval;
|
||||
|
||||
// in principle should free project_preferences here if it's nonzero
|
||||
|
||||
if (aid.project_preferences) {
|
||||
free(aid.project_preferences);
|
||||
aid.project_preferences = NULL;
|
||||
}
|
||||
memset(&aid, 0, sizeof(aid));
|
||||
strcpy(aid.user_name, "");
|
||||
strcpy(aid.team_name, "");
|
||||
|
|
|
@ -9369,3 +9369,9 @@ David 11 Nov 2008
|
|||
time_stats.cpp
|
||||
lib/
|
||||
parse.cpp
|
||||
|
||||
David 11 Nov 2008
|
||||
- API: free project prefs before parsing init file
|
||||
|
||||
api/
|
||||
boinc_api.cpp
|
||||
|
|
Loading…
Reference in New Issue