From 87a3dd706781c0378ca7f43ccda3863506a1ed07 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Wed, 27 Mar 2013 11:36:41 +0100 Subject: [PATCH] pn532_spi: fix double free() of spi port info --- libnfc/drivers/pn532_spi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libnfc/drivers/pn532_spi.c b/libnfc/drivers/pn532_spi.c index ac666ea..8fe2389 100644 --- a/libnfc/drivers/pn532_spi.c +++ b/libnfc/drivers/pn532_spi.c @@ -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); }