Author: toad
Date: 2009-02-03 20:39:19 +0000 (Tue, 03 Feb 2009)
New Revision: 25515
Modified:
branches/db4o/freenet/src/freenet/client/async/SingleBlockInserter.java
Log:
Fix not freeing the shadow
Modified:
branches/db4o/freenet/src/freenet/client/async/SingleBlockInserter.java
===================================================================
--- branches/db4o/freenet/src/freenet/client/async/SingleBlockInserter.java
2009-02-03 20:31:59 UTC (rev 25514)
+++ branches/db4o/freenet/src/freenet/client/async/SingleBlockInserter.java
2009-02-03 20:39:19 UTC (rev 25515)
@@ -412,6 +412,8 @@
throw new
LowLevelPutException(LowLevelPutException.INTERNAL_ERROR, e.toString() + ":" +
e.getMessage(), e);
} catch (IOException e) {
throw new
LowLevelPutException(LowLevelPutException.INTERNAL_ERROR, e.toString() + ":" +
e.getMessage(), e);
+ } finally {
+ block.copyBucket.free();
}
if(b != null)
core.realPut(b,
req.cacheLocalRequests);
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs