AffineTransform copying bug?
AffineTransform copying bug?
- Subject: AffineTransform copying bug?
- From: John Timmer <email@hidden>
- Date: Sat, 12 Jun 2004 20:31:11 -0400
Okay, I may be missing some aspect of ObjC memory management, but I can't
figure out why the following is causing me trouble.
If I do the following:
NSAffineTransform *tempTransform = [[scaleTransform copy] invert];
[tempTransform autorelease];
tempTransform winds up with an invalid address and the program tanks. If,
on the other hand, I do this:
NSAffineTransform *tempTransform = [[scaleTransform copy] autorelease];
[tempTransform invert];
Everything's fine. Is this normal, is it something specific to my machine,
or should I be filing a bug?
Thanks,
JT
_______________________________________________
This mind intentionally left blank
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.