projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c42a49
)
Small chan_features patch (bug #2939)
author
Mark Spencer
<markster@digium.com>
Thu, 25 Nov 2004 03:19:18 +0000
(
03:19
+0000)
committer
Mark Spencer
<markster@digium.com>
Thu, 25 Nov 2004 03:19:18 +0000
(
03:19
+0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4331
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_features.c
patch
|
blob
|
history
diff --git
a/channels/chan_features.c
b/channels/chan_features.c
index
7c823e7
..
5fa1b03
100755
(executable)
--- a/
channels/chan_features.c
+++ b/
channels/chan_features.c
@@
-427,7
+427,7
@@
static struct ast_channel *features_request(const char *type, int format, void *
struct feature_pvt *p;
struct ast_channel *chan = NULL;
p = features_alloc(data, format);
- if (!p->subs[SUB_REAL].owner)
+ if (p && !p->subs[SUB_REAL].owner)
chan = features_new(p, AST_STATE_DOWN, SUB_REAL);
return chan;
}