Found something in the Events.h file:
"SAFE_DELETE" is a macro for "delete ...", but the memory block is allocated with new[] in the contructor:
The right thing to do in my eyes is to use delete[]. Unfortunately this leads to crashes... but this can be easily fixed. Here is the new code for the destructor:
The exact same thing applies to the EvtData_Request_New_Actor destructor.
"SAFE_DELETE" is a macro for "delete ...", but the memory block is allocated with new[] in the contructor:
The right thing to do in my eyes is to use delete[]. Unfortunately this leads to crashes... but this can be easily fixed. Here is the new code for the destructor:
The exact same thing applies to the EvtData_Request_New_Actor destructor.
The post was edited 1 time, last by Nemex ().