[asterisk-commits] coreyfarrell: branch 12 r411311 - in /branches/12: ./ include/ main/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Mar 27 13:24:31 CDT 2014
Author: coreyfarrell
Date: Thu Mar 27 13:24:24 2014
New Revision: 411311
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=411311
Log:
main/formats: Fix crash in ast_format_cmp during non-clean shutdown.
* Update asterisk.h to reflect availability of ast_register_cleanup in 11.9.
* Use ast_register_cleanup for format_attr_shutdown.
(closes issue ASTERISK-23103)
Reported by: JoshE
........
Merged revisions 411310 from http://svn.asterisk.org/svn/asterisk/branches/11
Modified:
branches/12/ (props changed)
branches/12/include/asterisk.h
branches/12/main/format.c
Propchange: branches/12/
------------------------------------------------------------------------------
Binary property 'branch-11-merged' - no diff available.
Modified: branches/12/include/asterisk.h
URL: http://svnview.digium.com/svn/asterisk/branches/12/include/asterisk.h?view=diff&rev=411311&r1=411310&r2=411311
==============================================================================
--- branches/12/include/asterisk.h (original)
+++ branches/12/include/asterisk.h Thu Mar 27 13:24:24 2014
@@ -90,7 +90,7 @@
int ast_register_atexit(void (*func)(void));
/*!
- * \since 12
+ * \since 11.9
* \brief Register a function to be executed before Asterisk gracefully exits.
*
* If Asterisk is immediately shutdown (core stop now, or sending the TERM
Modified: branches/12/main/format.c
URL: http://svnview.digium.com/svn/asterisk/branches/12/main/format.c?view=diff&rev=411311&r1=411310&r2=411311
==============================================================================
--- branches/12/main/format.c (original)
+++ branches/12/main/format.c Thu Mar 27 13:24:24 2014
@@ -1149,7 +1149,7 @@
}
ast_cli_register_multiple(my_clis, ARRAY_LEN(my_clis));
- ast_register_atexit(format_attr_shutdown);
+ ast_register_cleanup(format_attr_shutdown);
return 0;
}
More information about the asterisk-commits
mailing list