netty5/transport
Norman Maurer c5c318f56c Release message when validation of passed in ChannelPromise fails when calling write(...) / writeAndFlush(...) (#8769)
Motivation:

We need to release the message when we throw an IllegalArgumentException because of a validation failure of the promise to eliminate the risk of a memory leak.

Modifications:

- Consistently release the message before rethrow
- Add testcase.

Result:

Fixes https://github.com/netty/netty/issues/8765.
2019-01-24 07:49:44 +01:00
..
src Release message when validation of passed in ChannelPromise fails when calling write(...) / writeAndFlush(...) (#8769) 2019-01-24 07:49:44 +01:00
pom.xml Correcting Maven Dependencies (#8622) 2018-12-06 09:02:00 +01:00