You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Ken Giusti (Jira)" <ji...@apache.org> on 2021/05/11 15:51:00 UTC
[jira] [Commented] (DISPATCH-1800) [dev-adaptors] message_body_data
objects never freed
[ https://issues.apache.org/jira/browse/DISPATCH-1800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17342684#comment-17342684 ]
Ken Giusti commented on DISPATCH-1800:
--------------------------------------
Caller must release all stream data items before freeing the message. This is done by calling qd_message_stream_data_release().
A debug assert has been added to qd_message_free() to ensure this has been done prior to freeing the message.
> [dev-adaptors] message_body_data objects never freed
> ----------------------------------------------------
>
> Key: DISPATCH-1800
> URL: https://issues.apache.org/jira/browse/DISPATCH-1800
> Project: Qpid Dispatch
> Issue Type: Improvement
> Components: Protocol Adaptors
> Affects Versions: 1.14.0
> Reporter: Charles E. Rolke
> Assignee: Ken Giusti
> Priority: Major
>
> qd_message_next_body_data allocates qd_message_body_data_t objects and stores them in msg->body_data_list. This list is not cleaned up when the message is deleted.
> There is probably a larger problem with cleaning these objects and the buffers to which they refer.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org