Commits

Isaac Greenspan committed 1e36723 Draft

adding dealloc to release retained properties.

  • Participants
  • Parent commits 56025f8
  • Branches adding_asynchronous

Comments (0)

Files changed (2)

 	return self;
 }
 
+- (void) dealloc {
+	// release retained properties
+	[account release];
+	[server release];
+	[event release];
+	[subject release];
+	[security release];
+	[allowmask release];
+	[year release];
+	[mon release];
+	[day release];
+	[hour release];
+	[min release];
+	[usejournal release];
+	[current_location release];
+	[current_mood release];
+	[current_moodid release];
+	[current_music release];
+	[opt_backdated release];
+	[picture_keyword release];
+	[taglist release];
+	[opt_nocomments release];
+	[opt_noemail release];
+	[opt_screening release];
+	[opt_preformatted release];
+	
+	[super dealloc];
+}
+
 - (NSDictionary *) getEntryAsDictionary;
 {
 	// build the metadata "props" dictionary
 
 @synthesize itemid;
 
+- (void) dealloc {
+	// release retained properties
+	[itemid release];
+	
+	[super dealloc];
+}
+
 - (LJPastEntry *) initPastItemid:(NSNumber *)theItemid
 					  forJournal:(NSString *)theJournal
 					  forAccount:(NSString *)theAccount

File asLJCoreAsynchronous.m

 }
 
 #pragma mark -
+#pragma mark dealloc
+
+- (void) dealloc {
+	// release retained properties
+	[result release];
+	[target release];
+	[faultString release];
+	[faultCode release];
+	[challengeGettingObject release];
+	
+	[super dealloc];
+}
+
+#pragma mark -
 #pragma mark setup methods
 
 - (NSString *)methodNameForIndex:(asLJCoreAsynchronousMethodType)method