Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix mismatching allocation/deallocation in AutoPatcher/CreatePatch.cpp
This commit fixes a mismatching allocation/deallocation of a char array in the AutoPatcher code: CreatePatch.cpp:529: *out = new char[*outSize]; CreatePatch.cpp:579: free(out); Mixing up new/delete and malloc/free is undefined behaviour and should be avoided.
- Loading branch information