Merge pull request #25233 from ivanarh/master
Fixed possible crash in pck_packer.cpp due to wrong memory freeing.
This commit is contained in:
commit
f48d4f6655
@ -175,7 +175,7 @@ Error PCKPacker::flush(bool p_verbose) {
|
||||
printf("\n");
|
||||
|
||||
file->close();
|
||||
memdelete(buf);
|
||||
memdelete_arr(buf);
|
||||
|
||||
return OK;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user