@@ -29,20 +29,27 @@ self = [super init]; @try { _size = of_sizeof_type_encoding(objCType); _objCType = objCType; - _bytes = [self allocMemoryWithSize: _size]; + _bytes = of_malloc(1, _size); memcpy(_bytes, bytes, _size); } @catch (id e) { [self release]; @throw e; } return self; } + +- (void)dealloc +{ + free(_bytes); + + [super dealloc]; +} - (void)getValue: (void *)value size: (size_t)size { if (size != _size)