You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-27 15:57:02 +00:00
Fixed possible crash in pck_packer.cpp due to wrong memory freeing.
This commit is contained in:
@@ -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;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user