diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-01-22 23:14:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-22 23:14:56 +0100 |
commit | f48d4f6655e7332a32ac388314536bded331b98b (patch) | |
tree | c91455b5dbceb3fe065807f2984840c265e1ac5c /core | |
parent | ab843b16984d8b62a1100d9b77d8b0dcdc4252bb (diff) | |
parent | 8edfc3b5acdbe5ecb91c44db72e06ea301fa3e3e (diff) |
Merge pull request #25233 from ivanarh/master
Fixed possible crash in pck_packer.cpp due to wrong memory freeing.
Diffstat (limited to 'core')
-rw-r--r-- | core/io/pck_packer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/pck_packer.cpp b/core/io/pck_packer.cpp index 36bd429bc0..8920bbfb81 100644 --- a/core/io/pck_packer.cpp +++ b/core/io/pck_packer.cpp @@ -175,7 +175,7 @@ Error PCKPacker::flush(bool p_verbose) { printf("\n"); file->close(); - memdelete(buf); + memdelete_arr(buf); return OK; }; |