# HG changeset patch # User Dan Preston # Date 1241562440 25200 # Node ID 423c134d320583a10f3f7808e50d7c859cd3d65e # Parent 5ed02247b7fcca6454cc78c80075f4458fb7d392 Tweaked release to be immediate instead of on autorelease pool. diff -r 5ed02247b7fc -r 423c134d3205 BLIP/BLIPProperties.m --- a/BLIP/BLIPProperties.m Tue May 05 15:12:18 2009 -0700 +++ b/BLIP/BLIPProperties.m Tue May 05 15:27:20 2009 -0700 @@ -351,7 +351,7 @@ Log(@"As data: %@", data); CAssertEqual(data,[NSMutableData dataWithLength: 2]); - BLIPMutableProperties *mprops = [[props mutableCopy] autorelease]; + BLIPMutableProperties *mprops = [props mutableCopy]; Log(@"Mutable copy:\n%@", mprops.allProperties); data = mprops.encodedData; Log(@"As data: %@", data); @@ -384,6 +384,8 @@ NSDictionary *all = mprops.allProperties; for( NSString *prop in all ) CAssertEqual([props valueOfProperty: prop],[all objectForKey: prop]); + + [mprops release]; }