rxrpc: Fix a memory leak in rxkad_verify_response()
Subsystems (2)
Quoted 3 lines
In function
rxkad_verify_response(), pointer "ticket" is not released, when functionrxkad_decrypt_ticket()returns an error, causing a memory leak bug.
I suggest to improve also this change description. How do you think about a wording variant like the following?
A ticket was not released after a call of the function “platform_get_irq” failed. Thus replace the jump target “temporary_error_free_resp”
by “temporary_error_free_ticket”.
Regards,
Markus
Quoted 3 lines
How do you think about a wording variant like the following?
A ticket was not released after a call of the function “platform_get_irq” failed.
I should have specified an other function name here.
A ticket was not released after a call of the function “rxkad_decrypt_ticket” failed.
Regards,
Markus