Author: toad
Date: 2009-03-25 19:17:03 +0000 (Wed, 25 Mar 2009)
New Revision: 26187

Modified:
   branches/db4o/freenet/src/freenet/client/async/SimpleManifestPutter.java
Log:
Freeing data is the responsibility of the caller, don't make the 
SingleFileInserter's free the data, fix already freed error log on sending a 
PersistentPutDir


Modified: 
branches/db4o/freenet/src/freenet/client/async/SimpleManifestPutter.java
===================================================================
--- branches/db4o/freenet/src/freenet/client/async/SimpleManifestPutter.java    
2009-03-25 19:12:50 UTC (rev 26186)
+++ branches/db4o/freenet/src/freenet/client/async/SimpleManifestPutter.java    
2009-03-25 19:17:03 UTC (rev 26187)
@@ -62,7 +62,7 @@
                        InsertBlock block = 
                                new InsertBlock(data, cm, persistent() ? 
FreenetURI.EMPTY_CHK_URI.clone() : FreenetURI.EMPTY_CHK_URI);
                        this.origSFI =
-                               new SingleFileInserter(this, this, block, 
false, ctx, false, getCHKOnly, true, null, null, true, null, earlyEncode);
+                               new SingleFileInserter(this, this, block, 
false, ctx, false, getCHKOnly, true, null, null, false, null, earlyEncode);
                        metadata = null;
                }
 

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

Reply via email to