[Pcsclite-cvs-commit] r4408 - /trunk/PCSC/src/pcscdaemon.c
rousseau at users.alioth.debian.org
rousseau at users.alioth.debian.org
Tue Sep 29 13:31:55 UTC 2009
Author: rousseau
Date: Tue Sep 29 13:31:54 2009
New Revision: 4408
URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=4408
Log:
main(): check RFAllocateReaderSpace() returned value
Modified:
trunk/PCSC/src/pcscdaemon.c
Modified: trunk/PCSC/src/pcscdaemon.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/PCSC/src/pcscdaemon.c?rev=4408&op=diff
==============================================================================
--- trunk/PCSC/src/pcscdaemon.c (original)
+++ trunk/PCSC/src/pcscdaemon.c Tue Sep 29 13:31:54 2009
@@ -457,7 +457,9 @@
/*
* Allocate memory for reader structures
*/
- (void)RFAllocateReaderSpace();
+ rv = RFAllocateReaderSpace();
+ if (SCARD_S_SUCCESS != rv)
+ at_exit();
/*
* Grab the information from the reader.conf
More information about the Pcsclite-cvs-commit
mailing list