Permalink
Browse files

fixing bad access / zombie errors

  • Loading branch information...
1 parent e2a963e commit 4b1a287dc5444cb17a4b61657cab665fe57059f7 @jonkean jonkean committed Apr 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Classes/SBJsonStreamParserState.m
@@ -35,7 +35,7 @@
#define SINGLETON \
+ (id)sharedInstance { \
- static id state; \
+ static id state = nil; \
if (!state) state = [[self alloc] init]; \
return state; \
}

0 comments on commit 4b1a287

Please sign in to comment.