fpi-ssm: Define autoptr cleanup function

This commit is contained in:
Marco Trevisan (Treviño) 2019-12-11 20:57:15 +01:00
parent 3bb1840750
commit c594863639

View file

@ -109,3 +109,5 @@ void fpi_ssm_usb_transfer_with_weak_pointer_cb (FpiUsbTransfer *transfer,
FpDevice *device, FpDevice *device,
gpointer weak_ptr, gpointer weak_ptr,
GError *error); GError *error);
G_DEFINE_AUTOPTR_CLEANUP_FUNC (FpiSsm, fpi_ssm_free)