I miss a call to the function SCardReleaseContext(). In the CVS Version of libmusclecard this function is never called. Maybe somebody would have problems with this.

I patched my version of libmusclecard.
File musclecard.c function MSCReleaseConnection() around line 575

        /*
         * Release Context
         */
        if (pConnection->hContext != 0)
        {
                rv = SCardReleaseContext(pConnection->hContext);
                if (pcscToMSC(rv) != MSC_SUCCESS)
                        return pcscToMSC(rv);
        }


Bye, Karsten _______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to