diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-02-19 19:05:34 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-02-19 19:05:34 +0000 |
commit | 10ba3de332116a3584e4b4df75bc5abe36bafb46 (patch) | |
tree | 30975937daa5bbb35bee8669b8dd8882f3eccb9a /channels | |
parent | 3a8db806e617d9fe566b9a3dabb159dbe4616797 (diff) |
Merged revisions 228798 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
(closes issue #16470)
Reported by: kjotte
........
r228798 | tilghman | 2009-11-09 01:37:52 -0600 (Mon, 09 Nov 2009) | 14 lines
Fix various problems detected with Valgrind.
* chan_console accessed pvts after deallocation.
* The module loader did not check usecount on shutdown, which led to chan_iax2
reading a timer that was already unloaded.
(closes issue #16062)
Reported by: alexanderheinz
Patches:
20091109__issue16062.diff.txt uploaded by tilghman (license 14)
Tested by: tilghman
........
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@248009 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_console.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_console.c b/channels/chan_console.c index 4c9b91a91..e80327d77 100644 --- a/channels/chan_console.c +++ b/channels/chan_console.c @@ -1502,6 +1502,7 @@ return_error_pa_init: return_error: if (pvts) ao2_ref(pvts, -1); + pvts = NULL; pvt_destructor(&globals); return AST_MODULE_LOAD_DECLINE; |