1.1 --- a/org/sonews/daemon/ChannelLineBuffers.java Fri Jun 26 16:48:50 2009 +0200
1.2 +++ b/org/sonews/daemon/ChannelLineBuffers.java Fri Aug 21 17:40:54 2009 +0200
1.3 @@ -233,10 +233,11 @@
1.4 public static void recycleBuffer(ByteBuffer buffer)
1.5 {
1.6 assert buffer != null;
1.7 - assert buffer.capacity() >= BUFFER_SIZE;
1.8
1.9 if(buffer.isDirect())
1.10 {
1.11 + assert buffer.capacity() >= BUFFER_SIZE;
1.12 +
1.13 // Add old buffers to the list of free buffers
1.14 synchronized(freeSmallBuffers)
1.15 {