Free memory allocated by pick_device() once we are connected to the device in nfc_connect().

This commit is contained in:
Romain Tartiere 2009-12-16 23:14:31 +00:00
parent 51854f508c
commit 462d986633

View file

@ -131,6 +131,8 @@ nfc_device_t* nfc_connect(nfc_device_desc_t* pndd)
DBG("No device available using %s driver",drivers_callbacks_list[uiDriver].acDriver);
pndd = NULL;
}
free(pndd);
}
}
} else {