Author: toad
Date: 2009-02-18 13:49:45 +0000 (Wed, 18 Feb 2009)
New Revision: 25684
Modified:
branches/db4o/freenet/src/freenet/node/fcp/ClientGet.java
Log:
Fix SimpleProgressMessage/SplitfileProgressEvent leak
Modified: branches/db4o/freenet/src/freenet/node/fcp/ClientGet.java
===================================================================
--- branches/db4o/freenet/src/freenet/node/fcp/ClientGet.java 2009-02-18
13:49:05 UTC (rev 25683)
+++ branches/db4o/freenet/src/freenet/node/fcp/ClientGet.java 2009-02-18
13:49:45 UTC (rev 25684)
@@ -413,6 +413,8 @@
}
returnBucket = new FileBucket(targetFile,
false, true, false, false, false);
}
+ if(persistenceType == PERSIST_FOREVER &&
progressPending != null)
+ progressPending.removeFrom(container);
progressPending = null;
this.foundDataLength = returnBucket.size();
if(!binaryBlob)
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs