Fix buffer leak in AbstractMemoryHttpData
This commit is contained in:
parent
524726fd99
commit
b6ac202c15
@ -152,7 +152,10 @@ public abstract class AbstractMemoryHttpData extends AbstractHttpData {
|
||||
|
||||
@Override
|
||||
public void delete() {
|
||||
// nothing to do
|
||||
if (byteBuf != null) {
|
||||
byteBuf.release();
|
||||
byteBuf = null;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user