npa: Free allocated apps in match function
Thanks oss-fuzz https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=23977
This commit is contained in:
parent
d743a347d7
commit
94d67bed81
@ -176,6 +176,10 @@ static int npa_match_card(sc_card_t * card)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (r == 0) {
|
||||||
|
sc_free_apps(card);
|
||||||
|
}
|
||||||
|
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user