1.1 --- a/vendor/JSKit/source/JSKore/JSKitInvocation.m Wed Jun 04 17:40:29 2008 -0500
1.2 +++ b/vendor/JSKit/source/JSKore/JSKitInvocation.m Wed Jun 04 17:41:53 2008 -0500
1.3 @@ -154,7 +154,7 @@
1.4 @implementation JSKitInvocationWithRawTarget
1.5 - (id) initWithTarget: (id) target selector: (SEL) selector
1.6 {
1.7 - self = [super initWithTarget:[target retain] selector:selector];
1.8 + self = [super initWithTarget:target selector:selector];
1.9 if (self) {
1.10 // sanity check the signature
1.11 NSMethodSignature *sig = [target methodSignatureForSelector:selector];
1.12 @@ -162,7 +162,7 @@
1.13 [self release];
1.14 return nil;
1.15 }
1.16 - if ([sig numberOfArguments] != 5) {
1.17 + if ([sig numberOfArguments] != 6) {
1.18 NSLog(@"JSKitInvocationWithJSParamsTarget invalid selector: %@", NSStringFromSelector(selector) );
1.19 [self release];
1.20 return nil;