FSharedStructMemory uses a custom deleter that calls FMemory::Free, but it doesn't call the destructor. FSharedStructMemory's destructor is responsible for correctly destructing the internal ScriptStruct.
If the ScriptStruct has a destructor that frees memory, this will not be called and that memory will leak.
No testing required
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-217516 in the post.
1 |
Component | UE - AI - Mass |
---|---|
Affects Versions | 5.4.3 |
Target Fix | 5.6 |
Fix Commit | 39676644 |
---|
Created | Jun 10, 2024 |
---|---|
Resolved | Feb 3, 2025 |
Updated | Feb 17, 2025 |