Merged revisions 105568 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Mon, 3 Mar 2008 17:06:35 +0000 (17:06 +0000)
committerRussell Bryant <russell@russellbryant.com>
Mon, 3 Mar 2008 17:06:35 +0000 (17:06 +0000)
commitbc3f76854744367d736922a6474844d6ca628f89
treed1628f51d6dcfd1573e935d7b019982873bb040b
parentf7467c83e684d0233c4c43f8de2c981da8a5abc9
Merged revisions 105568 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r105568 | russell | 2008-03-03 11:05:16 -0600 (Mon, 03 Mar 2008) | 3 lines

Fix a potential memory leak of the local_pvt struct when ast_channel allocation
fails.  Also, in passing, centralize the code necessary to destroy a local_pvt.

........

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