Commit 551e7bd6 authored by Pekka Pessi's avatar Pekka Pessi
Browse files

nua_session.c: fixed leak in incomin INVITE processing.

parent 3ef349df
......@@ -1591,7 +1591,6 @@ int nua_stack_process_invite(nua_t *nua,
sr = SR_INIT(sr0);
sr->sr_irq = irq;
sr->sr_msg = nta_incoming_getrequest(irq);
status = preprocess_invite(nua, nh, &sr, (sip_t *)sip);
......@@ -1600,7 +1599,6 @@ int nua_stack_process_invite(nua_t *nua,
nta_incoming_treply(irq, sr->sr_status, sr->sr_phrase,
SIPTAG_USER_AGENT_STR(NUA_PGET(nua, nh, user_agent)),
/* if something has failed, respond with 500 Internal Server Error */
return 500;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment