Author: nextgens
Date: 2008-08-25 22:29:56 +0000 (Mon, 25 Aug 2008)
New Revision: 22160

Modified:
   trunk/freenet/src/freenet/support/io/TempBucketFactory.java
Log:
TempBucket: ditto: free first and account then

Modified: trunk/freenet/src/freenet/support/io/TempBucketFactory.java
===================================================================
--- trunk/freenet/src/freenet/support/io/TempBucketFactory.java 2008-08-25 
22:21:39 UTC (rev 22159)
+++ trunk/freenet/src/freenet/support/io/TempBucketFactory.java 2008-08-25 
22:29:56 UTC (rev 22160)
@@ -322,9 +322,9 @@

                public void free() {
                        synchronized(sync) {
+                               currentBucket.free();
                                if(isRAMBucket())
                                        _hasFreed(currentSize);
-                               currentBucket.free();
                        }
                }
        }


Reply via email to