This is an automated email from the ASF dual-hosted git repository. kgiusti pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git
The following commit(s) were added to refs/heads/master by this push: new 08691d6 DISPATCH-1380: clear pn_link context when releasing qd_link 08691d6 is described below commit 08691d68a337f71d2da5008bffb3fa73c237e44e Author: Kenneth Giusti <kgiu...@apache.org> AuthorDate: Mon Jul 1 10:50:48 2019 -0400 DISPATCH-1380: clear pn_link context when releasing qd_link This closes #531 --- src/container.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/container.c b/src/container.c index 9c54cd8..d1e4c84 100644 --- a/src/container.c +++ b/src/container.c @@ -282,6 +282,7 @@ static void close_links(qd_container_t *container, pn_connection_t *conn, bool p qd_link_t *qd_link = (qd_link_t*) pn_link_get_context(pn_link); if (qd_link && qd_link_get_context(qd_link) == 0) { + pn_link_set_context(pn_link, 0); pn_link = pn_link_next(pn_link, 0); qd_link_free(qd_link); continue; --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org