Description

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.

Steps to Reproduce

No testing required

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-217516 in the post.

1
Login to Vote

Fixed
ComponentUE - AI - Mass
Affects Versions5.4.3
Target Fix5.6
Fix Commit39676644
CreatedJun 10, 2024
ResolvedFeb 3, 2025
UpdatedFeb 17, 2025
View Jira Issue