libimobiledevice  1.2.0
API Documentation - Return to Homepage

◆ idevice_free()

idevice_error_t idevice_free ( idevice_t  device)

Cleans up an idevice structure, then frees the structure itself.

This is a library-level function; deals directly with the device to tear down relations, but otherwise is mostly internal.

Parameters
deviceidevice_t to free.