Fix compile error

This commit is contained in:
Norman Maurer 2013-07-23 06:42:41 +02:00
parent dbc74fcc97
commit 35802207e1

View File

@ -145,7 +145,7 @@ abstract class PooledByteBuf<T> extends AbstractReferenceCountedByteBuf {
this.handle = -1;
memory = null;
chunk.arena.free(chunk, handle);
if (ResourceLeakDetector.ENABLED) {
if (ResourceLeakDetector.isEnabled()) {
leak.close();
} else {
recycle();