Skip to content

Commit

Permalink
Merge branch 'amalgamated' of github.com:vicoapp/nu
Browse files Browse the repository at this point in the history
  • Loading branch information
timburks committed Mar 30, 2012
2 parents c899895 + b13bc11 commit 1cd270e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion objc/Nu.m
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand Down

0 comments on commit 1cd270e

Please sign in to comment.