Author: torehalset
Date: Sun Oct 15 14:35:27 2006
New Revision: 464298

URL: http://svn.apache.org/viewvc?view=rev&rev=464298
Log:
dealloc fix

Modified:
    incubator/cayenne/sandbox/CocoaCayenne/CocoaCayenne/CAYCompoundDiff.m
    incubator/cayenne/sandbox/CocoaCayenne/CocoaCayenne/CAYGenericResponse.m
    
incubator/cayenne/sandbox/CocoaCayenne/CocoaCayenne/CAYNodePropertyChangeOperation.m

Modified: incubator/cayenne/sandbox/CocoaCayenne/CocoaCayenne/CAYCompoundDiff.m
URL: 
http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/CocoaCayenne/CAYCompoundDiff.m?view=diff&rev=464298&r1=464297&r2=464298
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/CocoaCayenne/CAYCompoundDiff.m 
(original)
+++ incubator/cayenne/sandbox/CocoaCayenne/CocoaCayenne/CAYCompoundDiff.m Sun 
Oct 15 14:35:27 2006
@@ -75,7 +75,7 @@
 
 -(void)dealloc
 {
-       [diffs release];
+       [self setDiffs:nil];
        [super dealloc];
 }
 

Modified: 
incubator/cayenne/sandbox/CocoaCayenne/CocoaCayenne/CAYGenericResponse.m
URL: 
http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/CocoaCayenne/CAYGenericResponse.m?view=diff&rev=464298&r1=464297&r2=464298
==============================================================================
--- incubator/cayenne/sandbox/CocoaCayenne/CocoaCayenne/CAYGenericResponse.m 
(original)
+++ incubator/cayenne/sandbox/CocoaCayenne/CocoaCayenne/CAYGenericResponse.m 
Sun Oct 15 14:35:27 2006
@@ -31,7 +31,7 @@
 
 -(void)encodeWithCoder:(NSCoder*)coder
 {
-       [coder encodeObject:results forKey:@"results"];
+       [coder encodeObject:[self results] forKey:@"results"];
 }
 
 -(void)setResults:(NSArray *)r
@@ -48,7 +48,7 @@
 
 -(void)dealloc
 {
-       [results release];
+       [self setResults:nil];
        [super dealloc];
 }
 

Modified: 
incubator/cayenne/sandbox/CocoaCayenne/CocoaCayenne/CAYNodePropertyChangeOperation.m
URL: 
http://svn.apache.org/viewvc/incubator/cayenne/sandbox/CocoaCayenne/CocoaCayenne/CAYNodePropertyChangeOperation.m?view=diff&rev=464298&r1=464297&r2=464298
==============================================================================
--- 
incubator/cayenne/sandbox/CocoaCayenne/CocoaCayenne/CAYNodePropertyChangeOperation.m
 (original)
+++ 
incubator/cayenne/sandbox/CocoaCayenne/CocoaCayenne/CAYNodePropertyChangeOperation.m
 Sun Oct 15 14:35:27 2006
@@ -101,9 +101,9 @@
 
 -(void)dealloc
 {
-       [property release];
-       [oldValue release];
-       [newValue release];
+       [self setProperty:nil];
+       [self setOldValue:nil];
+       [self setNewValue:nil];
        [super dealloc];
 }
 


Reply via email to