pkcs15-sc-hsm: Avoid potential memory leaks
pkcs15-sc-hsm: Avoid potential memory leaks

AktivCo/OpenSC,OpenSC/OpenSC,OpenSC/OpenSC,hongquan/OpenSC-main,frankmorgner/OpenSC,frankmorgner/OpenSC,metsma/OpenSC,Jakuje/OpenSC,philipWendland/OpenSC,dengert/OpenSC,mouse07410/OpenSC,rickyepoderi/OpenSC,Jakuje/OpenSC,rickyepoderi/OpenSC,LudovicRousseau/OpenSC,fabled/OpenSC,mouse07410/OpenSC,hongquan/OpenSC-main,fabled/OpenSC,rickyepoderi/OpenSC,metsma/OpenSC,frankmorgner/OpenSC,frankmorgner/OpenSC,philipWendland/OpenSC,CardContact/OpenSC,fabled/OpenSC,fabled/OpenSC,Jakuje/OpenSC,OpenSC/OpenSC,metsma/OpenSC,dengert/OpenSC,LudovicRousseau/OpenSC,dengert/OpenSC,LudovicRousseau/OpenSC,AktivCo/OpenSC,Jakuje/OpenSC,mouse07410/OpenSC,philipWendland/OpenSC,hongquan/OpenSC-main,CardContact/OpenSC,AktivCo/OpenSC,CardContact/OpenSC