mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-03 03:02:15 +00:00
Various: bugfixes found via chaos
Using DEBUG_CHAOS several instances of a null pointer crash, and one uninitialized variable were uncovered and fixed. Also added details on why Asterisk failed to initialize. Review: https://reviewboard.asterisk.org/r/4468/ ........ Merged revisions 433064 from http://svn.asterisk.org/svn/asterisk/branches/13 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@433065 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -844,8 +844,11 @@ void ast_category_append(struct ast_config *config, struct ast_category *cat);
|
||||
*
|
||||
* \details
|
||||
* This function is used to apply a base (template) to an existing category
|
||||
*
|
||||
* \retval 0 if succeeded
|
||||
* \retval -1 if the memory allocation failed
|
||||
*/
|
||||
void ast_category_inherit(struct ast_category *existing, const struct ast_category *base);
|
||||
int ast_category_inherit(struct ast_category *existing, const struct ast_category *base);
|
||||
|
||||
/*!
|
||||
* \brief Removes and destroys all variables in a category
|
||||
|
Reference in New Issue
Block a user