-
Notifications
You must be signed in to change notification settings - Fork 316
Memory leaks #220
Comments
Hi @RyuMaster , Thanks for pointing this buffer, fixed now. Regarding UE_LOG, please provide an example. |
Hi! In regards to UE_LOG, I am no sure, it just reliably produces me memory leak when I am using #define MALLOC_LEAKDETECTION 1 to test. but maybe false alarms then? Or could be related to my code, as I am using this inside multhithreading code. |
Hm, I'll test it today with the same define. |
Righty! I was just following this tutorial for my project: https://dzone.com/articles/dealing-with-memory-leaks-in-unreal-engine-4 And stumbled upon it |
@RyuMaster , I've checked it and and seemed okay :) |
TCHAR* DestinationBuffer = new TCHAR[DestinationLength];
nevers gets deleted;
Also, in many
UE_LOG functions,
*balabla->SomeString()
produces memory leaks, has to be
FString asas= balabla->SomeString();
UE_LOG(*asas)
The text was updated successfully, but these errors were encountered: