You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rob Godfrey (JIRA)" <ji...@apache.org> on 2016/10/04 09:46:20 UTC

[jira] [Resolved] (QPID-7440) [Java Broker] Stop ProtocolOutputConverterImpl from leaking QpidByteBuffers

     [ https://issues.apache.org/jira/browse/QPID-7440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rob Godfrey resolved QPID-7440.
-------------------------------
       Resolution: Fixed
    Fix Version/s: qpid-java-6.1

Change looks good to me

> [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
>            Assignee: Lorenz Quack
>             Fix For: qpid-java-6.1
>
>
> 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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org