CreateChannelByNameOrChannel(): correctly fails if the reader disapears
CreateChannelByNameOrChannel(): correctly fails if the reader disapears

If we get the error IFD_NO_SUCH_DEVICE then we must exit using the error
path and not directly with a return.
We need to unlock a mutex and free allocated resources.

Thanks to coverity.


git-svn-id: d8b078d517c8be834637447f210d7177f0fa38d6@6685 0ce88b0d-b2fd-0310-8134-9614164e65ea

hiranotaka/ccid-scr331-nttcom,LudovicRousseau/CCID,LudovicRousseau/CCID,hiranotaka/ccid-scr331-nttcom,LudovicRousseau/CCID,hiranotaka/ccid-scr331-nttcom,hiranotaka/ccid-scr331-nttcom