Author: toad
Date: 2009-02-18 20:01:11 +0000 (Wed, 18 Feb 2009)
New Revision: 25707
Modified:
branches/db4o/freenet/src/freenet/node/fcp/ClientGet.java
Log:
As the comment said, the creator of the allowedMIMETypes must delete it.
Modified: branches/db4o/freenet/src/freenet/node/fcp/ClientGet.java
===================================================================
--- branches/db4o/freenet/src/freenet/node/fcp/ClientGet.java 2009-02-18
19:58:41 UTC (rev 25706)
+++ branches/db4o/freenet/src/freenet/node/fcp/ClientGet.java 2009-02-18
20:01:11 UTC (rev 25707)
@@ -607,7 +607,11 @@
freeData(container);
if(persistenceType == PERSIST_FOREVER) {
- container.delete(fctx);
+ if(fctx.allowedMIMETypes != null) {
+ container.activate(fctx.allowedMIMETypes, 5);
+ container.delete(fctx.allowedMIMETypes);
+ }
+ fctx.removeFrom(container);
getter.removeFrom(container);
if(targetFile != null)
container.delete(targetFile);
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs