UE-22683

Possible memory leak in FVertexFactoryData's ClothVertexFactories

Possible memory leak in FVertexFactoryData's ClothVertexFactories

Developer implemented their own marker system with callstack data in their own custom version of malloc/realloc/free, and they reported that there might be a memory leak in the ClothVertexFactories member of FVertexFactoryData.

They said that the 2nd template parameter of the CreateVertexFactoryCloth() function has new called on it in that function, but they were unable to find a place where it was deleted.

I see there is a ReleaseAPEXClothVertexFactories, but I can't really tell if it manages to release the memory in question or not.

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-22683 in the post.