Make chan_local module references tied to local_pvt lifetime.
authorRichard Mudgett <rmudgett@digium.com>
Mon, 17 Dec 2012 23:02:54 +0000 (23:02 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Mon, 17 Dec 2012 23:02:54 +0000 (23:02 +0000)
commit23b94b92117ae965c0e9a11cd3804486cb54f793
tree2725262911020580f2e5b0976fea629b508ecd91
parent0494456ae6d637e22b3cfeaf4a285e92d64173e4
Make chan_local module references tied to local_pvt lifetime.

The chan_local module references were manually tied to the existence of
the ;1 and ;2 channel links.

* Made chan_local module references tied to the existence of the local_pvt
structure as well as automatically take care of the module references.

* Tweaked the wording of the local_fixup() failure warning message to make
sense.

Review: https://reviewboard.asterisk.org/r/2181/
........

Merged revisions 378088 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 378089 from http://svn.asterisk.org/svn/asterisk/branches/10
........

Merged revisions 378090 from http://svn.asterisk.org/svn/asterisk/branches/11

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@378091 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_local.c