Author: toad
Date: 2009-03-11 13:39:28 +0000 (Wed, 11 Mar 2009)
New Revision: 25981

Modified:
   branches/db4o/freenet/src/freenet/client/InsertBlock.java
Log:
Fix NPE


Modified: branches/db4o/freenet/src/freenet/client/InsertBlock.java
===================================================================
--- branches/db4o/freenet/src/freenet/client/InsertBlock.java   2009-03-11 
02:06:02 UTC (rev 25980)
+++ branches/db4o/freenet/src/freenet/client/InsertBlock.java   2009-03-11 
13:39:28 UTC (rev 25981)
@@ -37,6 +37,7 @@
                synchronized (this) {
                        if(isFreed) return;
                        isFreed = true;
+                       if(data == null) return;
                }
                data.free();
                if(container != null) {

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

Reply via email to