[asterisk-commits] dvossel: branch 1.6.0 r229673 - in /branches/1.6.0: ./ funcs/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Nov 12 10:49:57 CST 2009
Author: dvossel
Date: Thu Nov 12 10:49:52 2009
New Revision: 229673
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=229673
Log:
Merged revisions 229670 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r229670 | dvossel | 2009-11-12 10:44:39 -0600 (Thu, 12 Nov 2009) | 12 lines
Merged revisions 229669 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r229669 | dvossel | 2009-11-12 10:41:49 -0600 (Thu, 12 Nov 2009) | 6 lines
fixes merging error, datastore was being freed in the wrong function.
(closes issue #16219)
Reported by: aragon
........
................
Modified:
branches/1.6.0/ (props changed)
branches/1.6.0/funcs/func_audiohookinherit.c
Propchange: branches/1.6.0/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.
Modified: branches/1.6.0/funcs/func_audiohookinherit.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.0/funcs/func_audiohookinherit.c?view=diff&rev=229673&r1=229672&r2=229673
==============================================================================
--- branches/1.6.0/funcs/func_audiohookinherit.c (original)
+++ branches/1.6.0/funcs/func_audiohookinherit.c Thu Nov 12 10:49:52 2009
@@ -72,7 +72,6 @@
ast_debug(3, "Moved audiohook %s from %s(%p) to %s(%p)\n",
audiohook->source, old_chan->name, old_chan, new_chan->name, new_chan);
}
- ast_free(datastore);
return;
}
@@ -89,6 +88,8 @@
while ((inheritable_audiohook = AST_LIST_REMOVE_HEAD(&audiohook_inheritance_datastore->allowed_list, list))) {
ast_free(inheritable_audiohook);
}
+
+ ast_free(audiohook_inheritance_datastore);
}
/*! \brief create an audiohook_inheritance_datastore and attach it to a channel
More information about the asterisk-commits
mailing list