]> git.ipfire.org Git - thirdparty/asterisk.git/commit
stasis.c: Misc code cleanups.
authorRichard Mudgett <rmudgett@digium.com>
Fri, 28 Feb 2014 23:29:58 +0000 (23:29 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Fri, 28 Feb 2014 23:29:58 +0000 (23:29 +0000)
commit014010bf8e28239d630b0d0a067260dc7513c7bb
tree54ee521318f4bee2259ed8b3461491ffa9792e7e
parentc38f3bd145192c890b84dc953385a60b8b7082ec
stasis.c: Misc code cleanups.

* Remove some unnecessary RAII_VAR() usage.

* Made the struct stasis_subscription ao2 object use the ao2 lock instead
of a redundant join_lock in the struct for ast_cond_wait().

* Removed locks on some ao2 objects that don't need the lock.

* Made the topic pool entries container use the ao2 template functions.

* Add some missing allocation failure checks.

* Add missing cleanup in off nominal path of dispatch_message().

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@409270 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/stasis.c