diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 8e6294f9bd..4f820799e2 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -6426,7 +6426,6 @@ static struct sip_pvt *sip_alloc(ast_string_field callid, struct sockaddr_in *si if (ast_string_field_init(p, 512)) { ao2_t_ref(p, -1, "failed to string_field_init, drop p"); - ast_free(p); return NULL; }