Fix buffer leak in AbstractMemoryHttpData

This commit is contained in:
Trustin Lee 2013-12-07 11:13:50 +09:00
parent 4116de8360
commit 3812b897e6

View File

@ -149,7 +149,10 @@ public abstract class AbstractMemoryHttpData extends AbstractHttpData {
@Override
public void delete() {
// nothing to do
if (byteBuf != null) {
byteBuf.release();
byteBuf = null;
}
}
@Override