diff --git a/SOCKit.m b/SOCKit.m index 30f8eb8..ae73363 100644 --- a/SOCKit.m +++ b/SOCKit.m @@ -394,6 +394,9 @@ - (id)performSelector:(SEL)selector onObject:(id)object sourceString:(NSString * if (isInitializer) { object = [[object alloc] autorelease]; } + + if (!object) + return nil; NSArray* values = nil; BOOL succeeded = [self gatherParameterValues:&values fromString:sourceString];