Skip to content
This repository has been archived by the owner on Oct 18, 2021. It is now read-only.

Commit

Permalink
Tweaked release to be immediate instead of on autorelease pool.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Preston committed May 5, 2009
1 parent 57db848 commit 4d424ca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion BLIP/BLIPProperties.m
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ - (void) setAllProperties: (NSDictionary*)properties
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);
Expand Down Expand Up @@ -384,6 +384,8 @@ - (void) setAllProperties: (NSDictionary*)properties
NSDictionary *all = mprops.allProperties;
for( NSString *prop in all )
CAssertEqual([props valueOfProperty: prop],[all objectForKey: prop]);

[mprops release];
}


Expand Down

0 comments on commit 4d424ca

Please sign in to comment.