fixed memory leak
fixed memory leak

Credits to OSS-Fuzz

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