added more error handling
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@351 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
@@ -114,7 +114,6 @@ static int lnfc_connect(void **driver_data)
|
||||
data = realloc(*driver_data, sizeof *data);
|
||||
if (!data)
|
||||
return 0;
|
||||
memset(data, 0, sizeof *data);
|
||||
*driver_data = data;
|
||||
|
||||
/* FIXME
|
||||
|
||||
Reference in New Issue
Block a user