Free files in case of error
Free files in case of error

Thanks OSS-Fuzz
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=52466

OpenSC/OpenSC,philipWendland/OpenSC,mouse07410/OpenSC,OpenSC/OpenSC,mouse07410/OpenSC,metsma/OpenSC,metsma/OpenSC,OpenSC/OpenSC,mouse07410/OpenSC,philipWendland/OpenSC,metsma/OpenSC,philipWendland/OpenSC