md: fixed memory leak
md: fixed memory leak

may be related to https://github.com/OpenSC/OpenSC/issues/1106

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