free buf if pin was entered incorrectly. check if file is not NULL (out of memory). free file, if something goes wrong. free pin/puk once no longer needed.
free buf if pin was entered incorrectly.
check if file is not NULL (out of memory).
free file, if something goes wrong.
free pin/puk once no longer needed.


git-svn-id: 444ed946b9c2220da791e84c3dd156a05f92db99@2706 c6295689-39f2-0310-b995-f0e70906c6a9

0x7678/OpenSC,marschap/pkg-opensc,dirkx/OpenSC,tidatida/OpenSC,adminmt/OpenSC,dirkx/OpenSC.tokend,UIKit0/OpenSC,frankmorgner/OpenSC,dirkx/OpenSC.tokend,mtrojnar/OpenSC,carlhoerberg/OpenSC,gentoo/OpenSC,metsma/OpenSC,marschap/pkg-opensc,frankmorgner/OpenSC,0x7678/myOpenSC,adminmt/OpenSC,CardContact/OpenSC,fabled/OpenSC,germanblanco/OpenSC,gentoo/OpenSC,mtrojnar/OpenSC,gentoo/OpenSC,kasparsd/opensc-latvia-id,kasparsd/opensc-latvia-id,tidatida/OpenSC,gentoo/OpenSC,dirkx/OpenSC,ieugen/OpenSC,mtrojnar/OpenSC,frankmorgner/OpenSC,dirkx/OpenSC.tokend,viktorTarasov/OpenSC-SM,0x7678/myOpenSC,carlhoerberg/OpenSC,velter/OpenSC,0x7678/myOpenSC,viktorTarasov/OpenSC-SM,OpenSC/OpenSC,l1k/OpenSC,mouse07410/OpenSC,LudovicRousseau/OpenSC,mouse07410/OpenSC,dirkx/OpenSC,hhonkanen/OpenSC,ieugen/OpenSC,ieugen/OpenSC,germanblanco/OpenSC,aobaid/OpenSC,adminmt/OpenSC,martinpaljak/OpenSC,ieugen/OpenSC,philipWendland/OpenSC,OpenSC/OpenSC,hhonkanen/OpenSC,carlhoerberg/OpenSC,nmav/OpenSC,hongquan/OpenSC-main,marschap/pkg-opensc,financeX/OpenSC,ieugen/OpenSC,0x7678/myOpenSC,hongquan/OpenSC-main,aobaid/OpenSC,0x7678/OpenSC,hhonkanen/OpenSC,financeX/OpenSC,AktivCo/OpenSC,AktivCo/OpenSC,CardContact/OpenSC,fabled/OpenSC,rickyepoderi/OpenSC,jpki/OpenSC,dirkx/OpenSC.tokend,OpenSC/OpenSC,0x7678/OpenSC,gemini/OpenSC,tidatida/OpenSC,dirkx/OpenSC,germanblanco/OpenSC,velter/OpenSC,CardContact/OpenSC,UIKit0/OpenSC,philipWendland/OpenSC,philipWendland/OpenSC,nmav/OpenSC,fabled/OpenSC,dirkx/OpenSC.tokend,l1k/OpenSC,financeX/OpenSC,dengert/OpenSC,l1k/OpenSC,metsma/OpenSC,metsma/OpenSC,frankmorgner/OpenSC,Jakuje/OpenSC,AktivCo/OpenSC,Jakuje/OpenSC,rickyepoderi/OpenSC,gentoo/OpenSC,dengert/OpenSC,LudovicRousseau/OpenSC,UIKit0/OpenSC,jpki/OpenSC,fabled/OpenSC,martinpaljak/OpenSC,financeX/OpenSC,adminmt/OpenSC,aobaid/OpenSC,UIKit0/OpenSC,dengert/OpenSC,rickyepoderi/OpenSC,tidatida/OpenSC,hongquan/OpenSC-main,0x7678/myOpenSC,gemini/OpenSC,dirkx/OpenSC.tokend,kasparsd/opensc-latvia-id,0x7678/OpenSC,aobaid/OpenSC,dirkx/OpenSC,viktorTarasov/OpenSC-SM,carlhoerberg/OpenSC,gemini/OpenSC,nmav/OpenSC,carlhoerberg/OpenSC,martinpaljak/OpenSC,jpki/OpenSC,Jakuje/OpenSC,mouse07410/OpenSC,financeX/OpenSC,velter/OpenSC,marschap/pkg-opensc,kasparsd/opensc-latvia-id,Jakuje/OpenSC,velter/OpenSC,LudovicRousseau/OpenSC