bdaa935756
Motivation: An exception may occur between ByteBuf's allocation and release. So I think it's a good idea to place the release operation in a finally block. Modification: Release the temporary ByteBuf in finally blocks. Result: Avoid ByteBuf leak.