diff -r 6fceb66e1ad7 -r 6ae5e4f8329b org/sonews/daemon/ChannelLineBuffers.java --- a/org/sonews/daemon/ChannelLineBuffers.java Fri Jun 26 16:48:50 2009 +0200 +++ b/org/sonews/daemon/ChannelLineBuffers.java Mon Aug 24 13:00:05 2009 +0200 @@ -233,10 +233,11 @@ public static void recycleBuffer(ByteBuffer buffer) { assert buffer != null; - assert buffer.capacity() >= BUFFER_SIZE; if(buffer.isDirect()) { + assert buffer.capacity() >= BUFFER_SIZE; + // Add old buffers to the list of free buffers synchronized(freeSmallBuffers) {