Remove multiple calls to recordLeakNonRefCountingOperation() in AdvancedLeakAwareByteBuf.forEachByteDesc
Motivation: AdvancedLeakAwareByteBuf.forEachByteDesc(...) called recordLeakNonRefCountingOperation() two times which resulted in incorrect leak detection reports. Modifications: Remove duplicated call to recordLeakNonRefCountingOperation() Result: Correct leak detection results
This commit is contained in:
parent
da01b1daec
commit
f41aa306e9
@ -635,7 +635,6 @@ final class AdvancedLeakAwareByteBuf extends WrappedByteBuf {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int forEachByteDesc(ByteProcessor processor) {
|
public int forEachByteDesc(ByteProcessor processor) {
|
||||||
recordLeakNonRefCountingOperation();
|
|
||||||
recordLeakNonRefCountingOperation();
|
recordLeakNonRefCountingOperation();
|
||||||
return super.forEachByteDesc(processor);
|
return super.forEachByteDesc(processor);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user