fix memory leak

This commit is contained in:
Simon Morlat 2010-11-16 17:25:45 +01:00
parent 1b4d86ffff
commit 6de9557d60

View file

@ -941,6 +941,7 @@ static void update_contact_from_response(SalOp *op, osip_message_t *response){
tmp=sal_address_as_string(addr);
ms_message("Contact address updated to %s for this dialog",tmp);
sal_op_set_contact(op,tmp);
sal_address_destroy(addr);
ms_free(tmp);
}
}