aed5a74e09
Motivation: An IOException may be thrown from InputStream.read or checkSize method, and cause the ByteBuf leak. Modification: Release the ByteBuf when IOException occurs. Result: Avoid ByteBuf leak.