fixed bugs due to new version of opensc
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@517 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
@@ -1524,6 +1524,8 @@ special:
|
||||
if (verbose > 1)
|
||||
fprintf(stderr, "control loop: writing %d bytes... ", result);
|
||||
result = write (fd, outbuf, result);
|
||||
/* TODO outbuf should also be freed on error */
|
||||
free(outbuf);
|
||||
if (result < 0)
|
||||
goto stall;
|
||||
if (verbose > 1)
|
||||
|
||||
Reference in New Issue
Block a user