Repository: qpid-proton Updated Branches: refs/heads/master 0dea44515 -> 0fa93bcbc
PROTON-905: Revert "PROTON-905: fix to prevent crash with latest qpidd" This reverts commit d9ce3cfd0916ae3719cb39a83a6174c5f88b10bb. The latest qpidd is crashing due to the PROTON-905 fix whilst running the HA tests. Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/4c84dd7c Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/4c84dd7c Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/4c84dd7c Branch: refs/heads/master Commit: 4c84dd7c3c708fd823116876cd65885a628f92ff Parents: 0dea445 Author: Ken Giusti <[email protected]> Authored: Tue Jul 28 13:31:10 2015 -0400 Committer: Ken Giusti <[email protected]> Committed: Tue Jul 28 13:31:10 2015 -0400 ---------------------------------------------------------------------- proton-c/src/engine/engine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/4c84dd7c/proton-c/src/engine/engine.c ---------------------------------------------------------------------- diff --git a/proton-c/src/engine/engine.c b/proton-c/src/engine/engine.c index 9043e0b..ffbdf95 100644 --- a/proton-c/src/engine/engine.c +++ b/proton-c/src/engine/engine.c @@ -761,7 +761,7 @@ void pn_clear_modified(pn_connection_t *connection, pn_endpoint_t *endpoint) // the modified list (see pni_preserve_child() - the endpoint is considered // 'bound'). This increment/decrement will re-run the finalize in this // case. - if (endpoint != &connection->endpoint && endpoint->freed && !endpoint->referenced) { + if (endpoint != &connection->endpoint) { pn_incref(endpoint); pn_decref(endpoint); } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
