qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gmur...@apache.org
Subject [qpid-dispatch] branch master updated: DISPATCH-1557: Moved freeing of pn_link after the event batch completion. This closes #671.
Date Thu, 23 Jan 2020 19:42:55 GMT
This is an automated email from the ASF dual-hosted git repository.

gmurthy 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 800bec7  DISPATCH-1557: Moved freeing of pn_link after the event batch completion.
This closes #671.
800bec7 is described below

commit 800bec7c0c123c96e637c3c0b75c354be6423fcc
Author: Ganesh Murthy <gmurthy@apache.org>
AuthorDate: Wed Jan 22 15:28:06 2020 -0500

    DISPATCH-1557: Moved freeing of pn_link after the event batch completion. This closes
#671.
---
 src/container.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/container.c b/src/container.c
index 1b477e8..8b19074 100644
--- a/src/container.c
+++ b/src/container.c
@@ -618,7 +618,7 @@ void qd_container_handle_event(qd_container_t *container, pn_event_t *event,
                     node->ntype->link_detach_handler(node->context, qd_link, dt);
                 }
             } else {
-                pn_link_free(pn_link);
+                add_link_to_free_list(&qd_conn->free_link_session_list, pn_link);
             }
         }
         break;


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message