mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-02-27 04:06:38 +00:00
pn532_spi: fix double free() of spi port info
This commit is contained in:
@@ -160,7 +160,6 @@ pn532_spi_close(nfc_device *pnd)
|
||||
// Release SPI port
|
||||
spi_close(DRIVER_DATA(pnd)->port);
|
||||
|
||||
free(DRIVER_DATA(pnd)->port);
|
||||
pn53x_data_free(pnd);
|
||||
nfc_device_free(pnd);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user