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…
Reference in New Issue