Author: rmottola
Date: Sun Nov 16 22:41:49 2014
New Revision: 38176
URL: http://svn.gna.org/viewcvs/gnustep?rev=38176&view=rev
Log:
Set root object to nil, fixes memory leak of FileOpInfo itself.
Modified:
apps/gworkspace/trunk/ChangeLog
apps/gworkspace/trunk/Operation/FileOpInfo.m
Modified: apps/gworkspace/trunk/ChangeLog
URL:
http://svn.gna.org/viewcvs/gnustep/apps/gworkspace/trunk/ChangeLog?rev=38176&r1=38175&r2=38176&view=diff
==============================================================================
--- apps/gworkspace/trunk/ChangeLog (original)
+++ apps/gworkspace/trunk/ChangeLog Sun Nov 16 22:41:49 2014
@@ -1,3 +1,8 @@
+2014-11-16 Riccardo Mottola <[email protected]>
+
+ * Operation/FileOpInfo.m
+ Set root object to nil, fixes memory leak of FileOpInfo itself.
+
2014-09-22 Riccardo Mottola <[email protected]>
* Operation/FileOpInfo.h
Modified: apps/gworkspace/trunk/Operation/FileOpInfo.m
URL:
http://svn.gna.org/viewcvs/gnustep/apps/gworkspace/trunk/Operation/FileOpInfo.m?rev=38176&r1=38175&r2=38176&view=diff
==============================================================================
--- apps/gworkspace/trunk/Operation/FileOpInfo.m (original)
+++ apps/gworkspace/trunk/Operation/FileOpInfo.m Sun Nov 16 22:41:49 2014
@@ -508,6 +508,7 @@
[nc removeObserver: self
name: NSConnectionDidDieNotification
object: execconn];
+ [execconn setRootObject:nil];
DESTROY (executor);
DESTROY (execconn);
}
@@ -525,6 +526,7 @@
}
[controller endOfFileOperation: self];
+ [execconn setRootObject:nil];
}
- (void)sendWillChangeNotification
_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs