mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-20 11:47:46 +00:00
Prevent mem leak, free sheet data
This commit is contained in:
parent
b0aa7be1f5
commit
da99c09706
1 changed files with 3 additions and 0 deletions
|
@ -720,6 +720,9 @@ void LauncherCore::readGameData(ProfileSettings& profile) {
|
||||||
for(int i = 0; i < exd.row_count; i++) {
|
for(int i = 0; i < exd.row_count; i++) {
|
||||||
expansionNames.push_back(exd.row_data[i].column_data[0].string._0);
|
expansionNames.push_back(exd.row_data[i].column_data[0].string._0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
physis_gamedata_free_sheet(exd);
|
||||||
|
physis_gamedata_free_sheet_header(exh);
|
||||||
}
|
}
|
||||||
|
|
||||||
physis_gamedata_free(game_data);
|
physis_gamedata_free(game_data);
|
||||||
|
|
Loading…
Add table
Reference in a new issue