Authored by Hal Mueller

fixed memory leak in -zoomByFactor:near:animated:withCallback: (issue 50, issue 52)

... ... @@ -326,11 +326,13 @@
float nSteps = animTime / stepTime;
float zoomIncr = zoomDelta / nSteps;
CFDictionaryRef pivotDictionary = CGPointCreateDictionaryRepresentation(pivot);
NSDictionary *userInfo = [NSDictionary dictionaryWithObjectsAndKeys:
[NSNumber numberWithFloat:zoomIncr], @"zoomIncr",
[NSNumber numberWithFloat:targetZoom], @"targetZoom",
CGPointCreateDictionaryRepresentation(pivot), @"pivot",
pivotDictionary, @"pivot",
callback, @"callback", nil];
CFRelease(pivotDictionary);
[NSTimer scheduledTimerWithTimeInterval:stepTime
target:self
selector:@selector(animatedZoomStep:)
... ...