diff options
author | zuul <zuul@gerrit.asterisk.org> | 2016-08-11 23:14:38 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2016-08-11 23:14:38 -0500 |
commit | 4a05856f407a89724d9f178bb2cb49f70ced77e6 (patch) | |
tree | f6fc878f2a286782fd9282366a657551f10e8f5d /main | |
parent | 9d4bd3d763635169751de02d44affbf574d8044e (diff) | |
parent | e1248c30756ed9f48ba0f06c46a876c5d08cbb11 (diff) |
Merge "res_pjsip: Make aor named lock a mutex." into 13
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; } |