LAB: Fix delete in previous commit
This commit is contained in:
parent
df05be466e
commit
e88d09d2ec
1 changed files with 1 additions and 1 deletions
|
@ -237,7 +237,7 @@ Common::String Resource::readString(Common::File *file) {
|
|||
}
|
||||
|
||||
Common::String result = str;
|
||||
delete str;
|
||||
delete[] str;
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue