Skip navigation.
 
mlRe: Leak when animating Core Animation Superlayer
FROM : Brian Christensen
DATE : Sun Jun 01 09:49:04 2008

On Jun 1, 2008, at 2:55 , Stéphane Droux wrote:

> When I run the program in Mallocdebug, it seems that one of the 
> threads used
> by Core Animation to animate the layers doesn't release its memory.
> So it looks like a bug in Core Animation. However, since animating 
> non-leaf
> layers is such a core feature of Core Animation, I guess there's 
> something
> missing in my code


Are you sure you're getting a leak? I ran your sample code in 
Instruments with the Object Alloc and Leaks tools and I didn't detect 
any leaks. Object allocation and memory usage remained constant. 
Whether l1 or l2 were being animated made no discernible difference.

/brian

Related mailsAuthorDate
mlLeak when animating Core Animation Superlayer Stéphane Droux May 31, 22:39
mlRe: Leak when animating Core Animation Superlayer Brian Christensen Jun 1, 00:14
mlRe: Leak when animating Core Animation Superlayer Stéphane Droux Jun 1, 08:55
mlRe: Leak when animating Core Animation Superlayer Brian Christensen Jun 1, 09:49
mlRe: Leak when animating Core Animation Superlayer Stéphane Droux Jun 1, 11:03
mlRe: Leak when animating Core Animation Superlayer Gustavo Eulalio Jun 1, 14:15
mlRe: Leak when animating Core Animation Superlayer Brian Christensen Jun 1, 14:40
mlRe: Leak when animating Core Animation Superlayer Stéphane Droux Jun 1, 15:55
mlRe: Leak when animating Core Animation Superlayer Stéphane Droux Jun 1, 16:07
mlRe: Leak when animating Core Animation Superlayer Jonathan del Strot… Jun 1, 16:18
mlRe: Leak when animating Core Animation Superlayer Stéphane Droux Jun 1, 16:28
mlRe: Leak when animating Core Animation Superlayer Brian Christensen Jun 1, 19:31
mlRe: Leak when animating Core Animation Superlayer Stéphane Droux Jun 1, 19:58
mlRe: Leak when animating Core Animation Superlayer John Harper Jun 1, 20:53