aboutsummaryrefslogtreecommitdiffstats
path: root/channels/sig_pri.c
diff options
context:
space:
mode:
authorrmudgett <rmudgett@f38db490-d61c-443f-a65b-d21fe96a405b>2009-09-08 21:17:16 +0000
committerrmudgett <rmudgett@f38db490-d61c-443f-a65b-d21fe96a405b>2009-09-08 21:17:16 +0000
commit3e7c804c76acb3461e71a7869fde975285ba5701 (patch)
treeebbd3ba1e164248e673f2ee1bd2660a00e04d427 /channels/sig_pri.c
parente51388aa4c31ff7d77e8b5d3d8baeaeb6af49d3f (diff)
Remove duplicate entry in the sig_pri_pri private pointer array.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@217236 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/sig_pri.c')
-rw-r--r--channels/sig_pri.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/channels/sig_pri.c b/channels/sig_pri.c
index 47884fbaf..e3753c07d 100644
--- a/channels/sig_pri.c
+++ b/channels/sig_pri.c
@@ -3045,7 +3045,6 @@ struct sig_pri_chan *sig_pri_chan_new(void *pvt_data, struct sig_pri_callback *c
struct sig_pri_chan *p;
p = ast_calloc(1, sizeof(*p));
-
if (!p)
return p;
@@ -3056,7 +3055,6 @@ struct sig_pri_chan *sig_pri_chan_new(void *pvt_data, struct sig_pri_callback *c
p->calls = callback;
p->chan_pvt = pvt_data;
- pri->pvts[pri->numchans++] = p;
p->pri = pri;
return p;