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

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