mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Fix DUNDi segfault
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4693 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2926,6 +2926,7 @@ static void destroy_trans(struct dundi_transaction *trans, int fromtimeout)
|
||||
destroy_packets(trans->packets);
|
||||
destroy_packets(trans->lasttrans);
|
||||
trans->packets = NULL;
|
||||
trans->lasttrans = NULL;
|
||||
if (trans->autokillid > -1)
|
||||
ast_sched_del(sched, trans->autokillid);
|
||||
trans->autokillid = -1;
|
||||
|
Reference in New Issue
Block a user