| Article: |
Animating Graphics in Cocoa, Part 1 | |
| Subject: | Memory leak?? | |
| Date: | 2002-06-01 10:26:14 | |
| From: | chask | |
|
When running the animation program through ObjectAlloc, the number of current NSBezierPath objects keeps increasing as long as the program is running. Is this a memory leak? And, if so, what can be done to avoid it? |
||
Showing messages 1 through 1 of 1.
-
Memory leak??
2005-07-29 18:38:07 valiantsoul [View]



ball = [[NSBezierPath bezierPathWithOvalInRect:ballRect] retain];add[ball release]