X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fnetconf%2Fnetconf-netty-util%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fnetconf%2Fnettyutil%2Fhandler%2Fssh%2Fvirtualsocket%2FChannelInputStream.java;h=ba65b9ef34cf597aedadf1f5fa5afe6bb5cc646a;hb=b2e6c299fad844633c8b40a2e180780f5774a4ae;hp=2a3eeb21a8ced14c43565e1c3dd9443b9ef85292;hpb=b78e63501576638e1f000fd46663f8c42340f9e2;p=controller.git diff --git a/opendaylight/netconf/netconf-netty-util/src/main/java/org/opendaylight/controller/netconf/nettyutil/handler/ssh/virtualsocket/ChannelInputStream.java b/opendaylight/netconf/netconf-netty-util/src/main/java/org/opendaylight/controller/netconf/nettyutil/handler/ssh/virtualsocket/ChannelInputStream.java index 2a3eeb21a8..ba65b9ef34 100644 --- a/opendaylight/netconf/netconf-netty-util/src/main/java/org/opendaylight/controller/netconf/nettyutil/handler/ssh/virtualsocket/ChannelInputStream.java +++ b/opendaylight/netconf/netconf-netty-util/src/main/java/org/opendaylight/controller/netconf/nettyutil/handler/ssh/virtualsocket/ChannelInputStream.java @@ -93,6 +93,7 @@ public class ChannelInputStream extends InputStream implements ChannelInboundHan synchronized(lock) { this.bb.discardReadBytes(); this.bb.writeBytes((ByteBuf) o); + ((ByteBuf) o).release(); lock.notifyAll(); } }