[svn-commits] russell: trunk r108032 - in /trunk: ./ main/channel.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Wed Mar 12 12:02:57 CDT 2008
Author: russell
Date: Wed Mar 12 12:02:57 2008
New Revision: 108032
URL: http://svn.digium.com/view/asterisk?view=rev&rev=108032
Log:
Merged revisions 108031 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r108031 | russell | 2008-03-12 11:59:07 -0500 (Wed, 12 Mar 2008) | 4 lines
Destroy the channel lock after the channel datastores.
(inspired by issue #12187)
........
Modified:
trunk/ (props changed)
trunk/main/channel.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/main/channel.c
URL: http://svn.digium.com/view/asterisk/trunk/main/channel.c?view=diff&rev=108032&r1=108031&r2=108032
==============================================================================
--- trunk/main/channel.c (original)
+++ trunk/main/channel.c Wed Mar 12 12:02:57 2008
@@ -1287,7 +1287,6 @@
if (chan->pbx)
ast_log(LOG_WARNING, "PBX may not have been terminated properly on '%s'\n", chan->name);
free_cid(&chan->cid);
- ast_mutex_destroy(&chan->lock_dont_use);
/* Close pipes if appropriate */
if ((fd = chan->alertpipe[0]) > -1)
close(fd);
@@ -1321,6 +1320,8 @@
/* Destroy the jitterbuffer */
ast_jb_destroy(chan);
+
+ ast_mutex_destroy(&chan->lock_dont_use);
ast_string_field_free_memory(chan);
ast_free(chan);
More information about the svn-commits
mailing list