netty5/buffer
Scott Mitchell 998b8a8cb9 CompositeByteBuf.addComponent always assume reference count ownership
Motivation:
The current interface for CompositeByteBuf.addComponent is not clear under what conditions ownership is transferred when addComponent is called. There should be a well defined behavior so that users can ensure that no leaks occur.

Modifications:
- CompositeByteBuf.addComponent should always assume reference count ownership

Result:
Users that call CompositeByteBuf.addComponent do not have to independently check if the buffer's ownership has been transferred and if not independently release the buffer.
Fixes https://github.com/netty/netty/issues/4760
2016-02-02 11:38:55 -08:00
..
src CompositeByteBuf.addComponent always assume reference count ownership 2016-02-02 11:38:55 -08:00
pom.xml [maven-release-plugin] prepare for next development iteration 2016-01-29 09:57:10 +01:00