diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-03-25 17:22:34 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-03-25 17:22:34 +0000 |
commit | 5bdfb4c918c54a338ad18123a30d74d388514922 (patch) | |
tree | 0aa23c3d33fe04026376b019af4561401b413890 | |
parent | 4b8e8f830bc7d4ed78afc419205f3cdddf3cf891 (diff) |
Fix potential use of uninitialized value.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@254549 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | channels/chan_sip.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 86398dbae..cdc479ecc 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -19075,6 +19075,8 @@ static int acf_channel_read(struct ast_channel *chan, const char *funcname, char stream = p->vrtp; } else if (!strcasecmp(args.type, "text")) { stream = p->trtp; + } else { + stream = NULL; } if (!stream) { |