[AD] r14283 Fix some leaks in new(er) osx joystick code

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


This patch doesn't look right. You shouldn't CFRelease strings that
are created with CFSTR.
http://developer.apple.com/library/mac/documentation/CoreFoundation/Conceptual/CFStrings/Articles/CreatingAndCopying.html#//apple_ref/doc/uid/20001183-100988-TPXREF110
"Because CFSTR is not a Create or Copy function, you are not
responsible for releasing the string when you no longer need it."

Pete




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/