pd_free_peripheral()

Frees memory for a peripheral.

Synopsis:

#include <peripheral_discovery.h>
 
int pd_free_peripheral(pd_peripheral_t **peripheral)

Since:

BlackBerry 10.2.0

Arguments:

peripheral

The peripheral from pd_alloc_peripheral().

Library:

libperipheral_discovery (For the qcc command, use the -l peripheral_discovery option to link against this library)

Returns:

EOK on success.