You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by kg...@apache.org on 2018/06/27 16:36:15 UTC

qpid-dispatch git commit: DISPATCH-1052: release the policy tree lock

Repository: qpid-dispatch
Updated Branches:
  refs/heads/master 3767086be -> 9888dbefb


DISPATCH-1052: release the policy tree lock


Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/9888dbef
Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/9888dbef
Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/9888dbef

Branch: refs/heads/master
Commit: 9888dbefbc877df14614732025239e4a8fd0dcd1
Parents: 3767086
Author: Kenneth Giusti <kg...@apache.org>
Authored: Wed Jun 27 12:01:33 2018 -0400
Committer: Kenneth Giusti <kg...@apache.org>
Committed: Wed Jun 27 12:01:33 2018 -0400

----------------------------------------------------------------------
 src/policy.c | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/9888dbef/src/policy.c
----------------------------------------------------------------------
diff --git a/src/policy.c b/src/policy.c
index ec76267..2f8aef1 100644
--- a/src/policy.c
+++ b/src/policy.c
@@ -111,6 +111,8 @@ void qd_policy_free(qd_policy_t *policy)
     if (policy->policyDir)
         free(policy->policyDir);
     qd_parse_tree_free(policy->hostname_tree);
+    if (policy->tree_lock)
+        sys_mutex_free(policy->tree_lock);
     free(policy);
 }
 


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