Permalink
Browse files

Merge pull request #133 from jonkean/4b1a287dc5444cb17a4b61657cab665f…

…e57059f7

fix for bad access / zombie calls
  • Loading branch information...
2 parents e2a963e + 4b1a287 commit 5c4d5f745ba12f4c6f3090941f185404001d86d8 @stig 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 5c4d5f7

Please sign in to comment.