Fixing memory leak in setScreenTextureDescriptorForKey (#305)

This commit is contained in:
phkb 2018-07-11 21:16:38 +10:00 committed by AnotherCommander
parent fddff872f2
commit a5b3f6f22c

View File

@ -6305,6 +6305,7 @@ OOINLINE BOOL EntityInRange(HPVector p1, Entity *e2, float range)
} }
[screenBackgrounds release]; [screenBackgrounds release];
screenBackgrounds = [sbCopy copy]; screenBackgrounds = [sbCopy copy];
[sbCopy release];
} }