[1.0.27] Memory leak with actor dynamic light definitions
Posted: Sat Oct 27, 2007 2:14
As the subject states, the is currently a memory leak having to do with actors' dynamic light definitions. This block in gl_InitializeActorLights() is never being freed:
I began fixing it myself, but it looked like it was going to be a pretty messy fix (such as doing something like changing lightassociations to a TArray), so I thought I'd leave it alone.
Code: Select all
if (!defaults->lightassociations)
{
defaults->lightassociations = new TArray<FInternalLightAssociation*>;
}