diff options
author | zuul <zuul@gerrit.asterisk.org> | 2016-08-11 23:27:15 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2016-08-11 23:27:15 -0500 |
commit | fb88244957a19354d0c6321c399cb655caa24800 (patch) | |
tree | dfcae70f966df015086d76a5ccba44ce1ddf56a2 /main | |
parent | 88e90db6599fd9cbe47e643044806b65e64f1115 (diff) | |
parent | 5ba6357be2a140e558ddc14b7669bb08d035944d (diff) |
Merge "res_pjsip: Make aor named lock a mutex."
Diffstat (limited to 'main')
-rw-r--r-- | main/named_locks.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/named_locks.c b/main/named_locks.c index b977b553c..596048388 100644 --- a/main/named_locks.c +++ b/main/named_locks.c @@ -87,8 +87,8 @@ static void named_locks_shutdown(void) int ast_named_locks_init(void) { - named_locks = ao2_container_alloc_hash(0, 0, NAMED_LOCKS_BUCKETS, named_locks_hash, NULL, - named_locks_cmp); + named_locks = ao2_container_alloc_hash(AO2_ALLOC_OPT_LOCK_MUTEX, 0, + NAMED_LOCKS_BUCKETS, named_locks_hash, NULL, named_locks_cmp); if (!named_locks) { return -1; } |