@@ -24,20 +24,22 @@ #import "OFOutOfRangeException.h" @implementation NSOFDictionary - (instancetype)initWithOFDictionary: (OFDictionary *)dictionary { - if ((self = [super init]) != nil) { - @try { - _dictionary = [dictionary retain]; - } @catch (id e) { - return nil; - } - } + if ((self = [super init]) != nil) + _dictionary = [dictionary retain]; return self; } + +- (void)dealloc +{ + [_dictionary release]; + + [super dealloc]; +} - (id)objectForKey: (id)key { id object;