Nishant Chaprana 391d922bcf EAP-pwd peer: Fix memory leak in eap_pwd_perform_confirm_exchange()
hash variable is allocated memory using eap_pwd_h_init(), but there are
couple of error case code paths which skips deallocation of hash. The
memory of hash is deallocated using eap_pwd_h_final(). Fix this by
calling eap_pwd_h_final() at the end of the function if execution got
there through one of those error cases.

Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
2018-10-16 12:11:32 +03:00
..
2018-03-31 11:57:33 +03:00
2017-03-07 13:19:10 +02:00
2017-03-07 13:19:10 +02:00
2017-03-07 13:19:10 +02:00
2017-03-07 13:19:10 +02:00
2018-03-31 11:57:33 +03:00
2017-03-07 13:19:10 +02:00
2017-03-07 13:19:10 +02:00
2017-03-07 13:19:10 +02:00
2017-03-07 13:19:10 +02:00
2017-03-07 13:19:10 +02:00
2017-03-07 13:19:10 +02:00
2018-03-31 11:57:33 +03:00
2018-03-31 11:57:33 +03:00
2017-03-07 13:19:10 +02:00
2015-04-22 11:44:19 +03:00
2017-03-07 13:19:10 +02:00