BLIP/BLIPProperties.m
changeset 62 8713f2d6a4c5
parent 35 a9dd5ac5ff11
     1.1 --- a/BLIP/BLIPProperties.m	Mon May 04 23:21:26 2009 -0700
     1.2 +++ b/BLIP/BLIPProperties.m	Tue Jul 21 15:06:15 2009 -0700
     1.3 @@ -351,7 +351,7 @@
     1.4      Log(@"As data: %@", data);
     1.5      CAssertEqual(data,[NSMutableData dataWithLength: 2]);
     1.6      
     1.7 -    BLIPMutableProperties *mprops = [[props mutableCopy] autorelease];
     1.8 +    BLIPMutableProperties *mprops = [props mutableCopy];
     1.9      Log(@"Mutable copy:\n%@", mprops.allProperties);
    1.10      data = mprops.encodedData;
    1.11      Log(@"As data: %@", data);
    1.12 @@ -384,6 +384,8 @@
    1.13      NSDictionary *all = mprops.allProperties;
    1.14      for( NSString *prop in all )
    1.15          CAssertEqual([props valueOfProperty: prop],[all objectForKey: prop]);
    1.16 +	
    1.17 +	[mprops release];
    1.18  }
    1.19  
    1.20