1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-26 15:46:23 +00:00

Fixed possible crash in pck_packer.cpp due to wrong memory freeing.

This commit is contained in:
Ivan Ponomarev
2019-01-22 20:02:19 +03:00
parent cd45f05f7e
commit 8edfc3b5ac

View File

@@ -175,7 +175,7 @@ Error PCKPacker::flush(bool p_verbose) {
printf("\n");
file->close();
memdelete(buf);
memdelete_arr(buf);
return OK;
};