static void gsd_data_free (GSDData *data) { if (data) { pp_devices_list_free (data->devices); g_free (data); } }
static void jetdirect_data_free (JetDirectData *data) { if (data != NULL) { pp_devices_list_free (data->devices); g_clear_object (&data->host); g_free (data); } }
static void smb_data_free (SMBData *data) { if (data) { pp_devices_list_free (data->devices); g_free (data); } }