diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-04-06 16:48:51 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-04-06 16:48:51 +0000 |
commit | 9dfcd238607299c67796605436bd49951455e385 (patch) | |
tree | b41eef9391f2830464667b1844006a5d9b0b6271 /channels/chan_sip.c | |
parent | 86b995caa940a2ac9738040ef92c8dcb65456b73 (diff) |
Commit fix for crash issue that could occur due to transmission failure.
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.6.0.9@186651 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_sip.c')
-rw-r--r-- | channels/chan_sip.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 11ec7c951..ce7116b28 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -2922,7 +2922,6 @@ static enum sip_result __sip_reliable_xmit(struct sip_pvt *p, int seqno, int res ast_log(LOG_ERROR, "Serious Network Trouble; __sip_xmit returns error for pkt data\n"); AST_SCHED_DEL(sched, pkt->retransid); p->packets = pkt->next; - ast_free(pkt->data); ast_free(pkt); return AST_FAILURE; } else { |