Lorenz Quack created QPID-7440:
----------------------------------

             Summary: [Java Broker] Stop ProtocolOutputConverterImpl from 
leaking QpidByteBuffers
                 Key: QPID-7440
                 URL: https://issues.apache.org/jira/browse/QPID-7440
             Project: Qpid
          Issue Type: Bug
          Components: Java Broker
    Affects Versions: qpid-java-6.0, qpid-java-6.0.5, qpid-java-6.1
            Reporter: Lorenz Quack


ProtocolOutputConverterImpl seems to leak QBBs in deflateIfPossible and 
inflateIfPossible. Those methods pass QBBs from 
MessageContentSource.getContent() to QBB.deflate/inflate but those methods do 
not take ownership of the buffers so they are not disposed of.

Keith thinks that ownership should remain with the caller and that 
ProtocolOutputConverterImpl should dispose of the QBBs.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to