You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if((encodeState = (struct JKEncodeState *)calloc(1UL, sizeof(JKEncodeState))) == NULL) { [NSException exceptionWithName:NSMallocException reason:@"Unable to allocate state structure." userInfo:NULL]; return(NULL); }
That, in case of a memory problem will create the exception object and not do anything with it. I think is missing a @throw statement, or creating the exception using a +[NSException raise:format:] method (like is done in the rest of the file).
[NSException raise:NSMallocException format:@"Unable to allocate state structure."]
The text was updated successfully, but these errors were encountered:
* 'master' of github.com:playup/JSONKit:
Adds a serializing option to backslash escape forward slashes. This is for issue johnezang#21.
Change a NSException from exceptionWithName: to raise:. Closesjohnezang#20.
Fixes a bug when removing items from a JKDictionary. Since JKDictionary is implemented using a hash table that uses linear probing, the removal function needs to "re-add" items that follow the removed item so that linear probe hash collisions are not "lost". Closesjohnezang#17
As of 862fa4d, line 2793 reads like this:
That, in case of a memory problem will create the exception object and not do anything with it. I think is missing a @throw statement, or creating the exception using a
+[NSException raise:format:]
method (like is done in the rest of the file).The text was updated successfully, but these errors were encountered: