Private
Public Access
2
0

spi.c: destructor now freeing memory

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll
2014-07-28 16:40:55 +02:00
parent c977a6d19c
commit 662bf67dc6

View File

@@ -160,5 +160,6 @@ mraa_result_t
mraa_spi_stop(mraa_spi_context dev)
{
close(dev->devfd);
free(dev);
return MRAA_SUCCESS;
}