mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 22:21:18 +00:00
Fixed possible crash in pck_packer.cpp due to wrong memory freeing.
This commit is contained in:
parent
cd45f05f7e
commit
8edfc3b5ac
1 changed files with 1 additions and 1 deletions
|
|
@ -175,7 +175,7 @@ Error PCKPacker::flush(bool p_verbose) {
|
||||||
printf("\n");
|
printf("\n");
|
||||||
|
|
||||||
file->close();
|
file->close();
|
||||||
memdelete(buf);
|
memdelete_arr(buf);
|
||||||
|
|
||||||
return OK;
|
return OK;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue