Fix error paths in action_hangup() for AMI Hangup action.
authorRichard Mudgett <rmudgett@digium.com>
Fri, 8 Jun 2012 21:08:17 +0000 (21:08 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Fri, 8 Jun 2012 21:08:17 +0000 (21:08 +0000)
commit745484e1b3dbf758e602aa642474822c4f1eaccb
tree5ef2f990af200c21029dd7acb4b189855c52945f
parent8b2412db289b43202ef33053fb4efc4481d99bd4
Fix error paths in action_hangup() for AMI Hangup action.

* Check allocation function return values for failure.  Crashing is bad.

* Tweak ast_regex_string_to_regex_pattern() parameters for proper ast_str
usage.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@368714 65c4cc65-6c06-0410-ace0-fbb531ad65f3
include/asterisk/strings.h
main/manager.c
main/utils.c