Commit 02607711 authored by Simon Morlat's avatar Simon Morlat
Browse files

fix duplicate route headers in registers

parent 01babfb6
......@@ -2007,6 +2007,8 @@ static void register_set_contact(osip_message_t *msg, const char *contact){
static void sal_register_add_route(osip_message_t *msg, const char *proxy){
char tmp[256]={0};
osip_list_special_free(&msg->routes,(void (*)(void*))osip_route_free);
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