mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Remove duplicate entry in the sig_pri_pri private pointer array.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@217236 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user