File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -885,7 +885,7 @@ static id FCReadNSCodedObject(__unsafe_unretained FCNSDecoder *decoder)
885885 NSString *key = FCReadObject (decoder);
886886 decoder->_properties [key] = object;
887887 }
888- id object = [[NSClassFromString (className) alloc ] initWithCoder: decoder];
888+ id object = FC_AUTORELEASE ( [[NSClassFromString (className) alloc ] initWithCoder: decoder]) ;
889889 [decoder->_propertyDictionaryPool addObject: decoder->_properties];
890890 decoder->_properties = oldProperties;
891891 FCCacheParsedObject (object, decoder->_objectCache );
@@ -2511,7 +2511,7 @@ static id FCReadNSCodedObject_2_3(__unsafe_unretained FCNSDecoder *decoder)
25112511 NSString *key = FCReadObject_2_3 (decoder);
25122512 decoder->_properties [key] = object;
25132513 }
2514- id object = [[NSClassFromString (className) alloc ] initWithCoder: decoder];
2514+ id object = FC_AUTORELEASE ( [[NSClassFromString (className) alloc ] initWithCoder: decoder]) ;
25152515 decoder->_properties = oldProperties;
25162516 FCCacheParsedObject (object, decoder->_objectCache );
25172517 return object;
You can’t perform that action at this time.
0 commit comments