Permalink
Browse files

Added missing dealloc to last commit

  • Loading branch information...
pokeb committed Sep 17, 2011
1 parent 93b2b1a commit 9f5bebbbddced29f4d0021c444b6a73233f548c2
Showing with 10 additions and 11 deletions.
  1. +1 −1 Classes/ASIHTTPRequest.m
  2. +9 −10 Classes/S3/ASIS3Bucket.m
View
@@ -24,7 +24,7 @@
#import "ASIDataCompressor.h"
// Automatically set on build
-NSString *ASIHTTPRequestVersion = @"v1.8.1-33 2011-08-20";
+NSString *ASIHTTPRequestVersion = @"v1.8.1-44 2011-09-17";
static NSString *defaultUserAgent = nil;
View
@@ -19,23 +19,22 @@ + (id)bucketWithOwnerID:(NSString *)anOwnerID ownerName:(NSString *)anOwnerName
return bucket;
}
+- (void)dealloc
+{
+ [name release];
+ [creationDate release];
+ [ownerID release];
+ [ownerName release];
+ [super dealloc];
+}
+
- (NSString *)description
{
return [NSString stringWithFormat:@"Name: %@ creationDate: %@ ownerID: %@ ownerName: %@",[self name],[self creationDate],[self ownerID],[self ownerName]];
}
-
@synthesize name;
@synthesize creationDate;
@synthesize ownerID;
@synthesize ownerName;
-
-- (void)dealloc
-{
- [name release];
- [creationDate release];
- [ownerID release];
- [ownerName release];
-}
-
@end

0 comments on commit 9f5bebb

Please sign in to comment.