[ 
https://issues.apache.org/jira/browse/DISPATCH-739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15957549#comment-15957549
 ] 

ASF subversion and git services commented on DISPATCH-739:
----------------------------------------------------------

Commit 98975fb6d3ffd514f4f451dafa1b5b08c4676a60 in qpid-dispatch's branch 
refs/heads/master from [~aconway]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-dispatch.git;h=98975fb ]

DISPATCH-739: Clear both pn_link/qd_link context pointers on free

Fixes 'invalid read' valgrind error in system tests.
close_links() can traverses the pn_link_t chain twice, before zeroing the 
pointer
the second pass was using a dangling context pointer to a freed qd_link.


> Enable valgrind leak-check=full and fix any memory errors found
> ---------------------------------------------------------------
>
>                 Key: DISPATCH-739
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-739
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 0.7.0
>            Reporter: Alan Conway
>            Assignee: Alan Conway
>
> Enable valgrind --leak-check=full with --show-leak-kinds=definite to avoid 
> flood of "possibly lost" false alarms from python. Fix any memory errors this 
> reveals.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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

Reply via email to