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.
Fix buffer overflow in chat server example
Merge pull request #1 from Ralith/fix-chat-example-overflow

Fix buffer overflow in chat server example
Merge pull request #6 from png85/png.AutoPatcher_CreatePatch-UB_fix

Fix mismatching allocation/deallocation in AutoPatcher/CreatePatch.cpp