1
0
mirror of https://gitlab.com/rnger/amath synced 2025-10-05 10:29:29 +00:00

Fix potential memory leak

This commit is contained in:
Carsten Larsen
2017-01-11 20:59:21 +01:00
parent 156def0cd0
commit 76ef9ca5ad

View File

@ -57,7 +57,7 @@ bool AmigaPreferences::Load()
}
} while (c != NULL);
delete buf;
delete [] buf;
Close(file);
SetPrefs(text->GetString());
delete text;