Index: channels/chan_sip.c =================================================================== --- channels/chan_sip.c (revision 175301) +++ channels/chan_sip.c (working copy) @@ -3194,8 +3194,10 @@ if (xmitres == XMIT_ERROR) { /* Serious network trouble, no need to try again */ append_history(pkt->owner, "XmitErr", "%s", pkt->is_fatal ? "(Critical)" : "(Non-critical)"); ast_log(LOG_ERROR, "Serious Network Trouble; __sip_xmit returns error for pkt data\n"); - if (pkt->data) - ast_free(pkt->data); + AST_SCHED_DEL(sched, pkt->retransid); + p->packets = pkt->next; + ast_free(pkt->data); + ast_free(pkt); return AST_FAILURE; } else { return AST_SUCCESS;