20.01.2015, 22:13
Quote:
Just don't use MEM::free(), if you still need and use that memory.
Also check for NULL pointers after MEM::malloc() or MEM::calloc(). If you don't want to corrupt your memory, you can use the secure version. Anyway I've successfully posted an update of these plugins. |
And I don't quite understand the difference between calloc() and malloc(), I used calloc and it was perfectly fine but when I used malloc() the data was somewhat corrupted.