Skip to content

Commit

Permalink
Fix mixing up two local error variables (should fix issue karelia#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
Joerg Jacobsen committed Apr 21, 2015
1 parent 171c905 commit 5af78ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IMBParserMessenger.m
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ - (NSArray*) unpopulatedTopLevelNodes:(NSError**)outError
}
if (nodeCreationError) {
@synchronized(errors) {
[errors addObject:error];
[errors addObject:nodeCreationError];
}
}
});
Expand Down

0 comments on commit 5af78ff

Please sign in to comment.