(OSX) Try to free allocation at the end of get_selector

This commit is contained in:
Twinaphex 2017-04-15 19:13:21 +02:00
parent fe33f30c15
commit 80017f7d71

View File

@ -155,6 +155,7 @@ static float get_from_selector(Class obj_class, id obj_id, SEL selector, CGFloat
[invocation setTarget:obj_id];
[invocation invoke];
[invocation getReturnValue:ret];
[invocation release];
return *ret;
}