Author: toad
Date: 2009-01-23 14:34:07 +0000 (Fri, 23 Jan 2009)
New Revision: 25238

Modified:
   branches/db4o/freenet/src/freenet/client/async/SplitFileFetcherSegment.java
Log:
Free the bucket


Modified: 
branches/db4o/freenet/src/freenet/client/async/SplitFileFetcherSegment.java
===================================================================
--- branches/db4o/freenet/src/freenet/client/async/SplitFileFetcherSegment.java 
2009-01-23 13:49:13 UTC (rev 25237)
+++ branches/db4o/freenet/src/freenet/client/async/SplitFileFetcherSegment.java 
2009-01-23 14:34:07 UTC (rev 25238)
@@ -232,12 +232,14 @@
                                // It's a slight overhead, but the alternative 
is worse.
                                if(logMINOR)
                                        Logger.minor(this, "onSuccess() when 
already finished for "+this);
+                               data.free();
                                return;
                        }
                        if(startedDecode) {
                                // Much the same.
                                if(logMINOR)
                                        Logger.minor(this, "onSuccess() when 
started decode for "+this);
+                               data.free();
                                return;
                        }
                        if(blockNo < dataKeys.length) {

_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs

Reply via email to