Index: channels/chan_sip.c =================================================================== --- channels/chan_sip.c (revision 182208) +++ channels/chan_sip.c (working copy) @@ -2940,6 +2940,9 @@ dialog->packets = dialog->packets->next; AST_SCHED_DEL(sched, cp->retransid); dialog_unref(cp->owner, "remove all current packets in this dialog, and the pointer to the dialog too as part of __sip_destroy"); + if (cp->data) { + ast_free(cp->data); + } ast_free(cp); }