Fixing memory leak in setScreenTextureDescriptorForKey (#305)
This commit is contained in:
parent
fddff872f2
commit
a5b3f6f22c
@ -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];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user