diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-01-06 06:07:44 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-01-06 06:07:44 +0000 |
commit | cb87cd70404e53eee36cb18b7b0b69d8113f57cc (patch) | |
tree | 59de8e8b14065f9f711ad1d41a167e68a59a3685 /pbx | |
parent | c75f5c50b5b3142674644e14891c1d8ba6f7b58b (diff) |
Fix DUNDi segfault
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4693 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx')
-rwxr-xr-x | pbx/pbx_dundi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pbx/pbx_dundi.c b/pbx/pbx_dundi.c index 6274aa89f..f581af694 100755 --- a/pbx/pbx_dundi.c +++ b/pbx/pbx_dundi.c @@ -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; |