aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_dial.c
diff options
context:
space:
mode:
authorrmudgett <rmudgett@f38db490-d61c-443f-a65b-d21fe96a405b>2009-05-05 20:54:07 +0000
committerrmudgett <rmudgett@f38db490-d61c-443f-a65b-d21fe96a405b>2009-05-05 20:54:07 +0000
commit28fb3d8a7d25814ce2388d4c897183f4eaada067 (patch)
treef87c5178c8af68a1d64575771784d259879db9e2 /apps/app_dial.c
parent3732065d702aa8973184edd36cbfc7bd8d91cbed (diff)
Fixed crashes from issue8824 review board channel locking changes.
The local struct ast_party_connected_line connected_caller variable was uninitialized when the copy function was called. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@192590 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_dial.c')
-rw-r--r--apps/app_dial.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c
index 44c122878..77d8a8623 100644
--- a/apps/app_dial.c
+++ b/apps/app_dial.c
@@ -864,6 +864,8 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in,
#endif
struct ast_party_connected_line connected_caller;
struct ast_str *featurecode = ast_str_alloca(FEATURE_MAX_LEN + 1);
+
+ ast_party_connected_line_init(&connected_caller);
if (single) {
/* Turn off hold music, etc */
if (!ast_test_flag64(outgoing, OPT_MUSICBACK | OPT_RINGBACK))