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.

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

Unresolved
ComponentUE - AI - Mass
Affects Versions5.4.3
CreatedJun 10, 2024
UpdatedJun 12, 2024
View Jira Issue