Commit 07d1c087 authored by Pekka Pessi's avatar Pekka Pessi

nua_session.c: always free BYE message created when session handle is destroyed

darcs-hash:20061130073354-65a35-af5fd19ed3d9fa7edae6e679a7be7457ef7020f0.gz
parent 3d460cbd
......@@ -1349,8 +1349,7 @@ static int nua_session_usage_shutdown(nua_handle_t *nh,
NULL, NULL, NULL,
bye,
TAG_END());
if (cr->cr_orq) /* Wait for BYE to complete? */
nua_creq_deinit(cr, NULL);
nua_creq_deinit(cr, NULL);
}
}
......
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