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:
@ -57,7 +57,7 @@ bool AmigaPreferences::Load()
|
||||
}
|
||||
} while (c != NULL);
|
||||
|
||||
delete buf;
|
||||
delete [] buf;
|
||||
Close(file);
|
||||
SetPrefs(text->GetString());
|
||||
delete text;
|
||||
|
Reference in New Issue
Block a user