Permalink
Browse files

Merge branch 'amalgamated' of github.com:vicoapp/nu

  • Loading branch information...
2 parents c899895 + b13bc11 commit 1cd270e79cdb278f22f1179f9adc54e5786bb1bf @timburks timburks committed Mar 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 objc/Nu.m
View
@@ -1483,7 +1483,7 @@ static id get_nu_value_from_objc_value(void *objc_value, const char *typeString)
case '#':
{
Class c = *((Class *)objc_value);
- return c ? [[NuClass alloc] initWithClass:c] : Nu__null;
+ return c ? [[[NuClass alloc] initWithClass:c] autorelease] : Nu__null;
}
#ifndef __ppc__
case 'c':

0 comments on commit 1cd270e

Please sign in to comment.