mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-04 00:00:14 -04:00
eap-sim-pcsc: Fix leak in error case
This commit is contained in:
parent
e2d8833f2b
commit
23d756e4f0
@ -124,6 +124,7 @@ METHOD(simaka_card_t, get_triplet, bool,
|
||||
if (rv != SCARD_S_SUCCESS)
|
||||
{
|
||||
DBG1(DBG_IKE, "SCardListReaders: %s", pcsc_stringify_error(rv));
|
||||
free(mszReaders);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user