Tweaked release to be immediate instead of on autorelease pool.
authorDan Preston <danpreston@codechemistry.com>
Tue May 05 15:27:20 2009 -0700 (2009-05-05)
changeset 40423c134d3205
parent 39 5ed02247b7fc
child 41 0fa1fcf07d87
Tweaked release to be immediate instead of on autorelease pool.
BLIP/BLIPProperties.m
     1.1 --- a/BLIP/BLIPProperties.m	Tue May 05 15:12:18 2009 -0700
     1.2 +++ b/BLIP/BLIPProperties.m	Tue May 05 15:27:20 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