vine_nan_s *nan_handle = (vine_nan_s *)user_data;
__add_peer(nan_handle, peer, mac);
- g_free(mac);
event_callbacks.discovered_cb(nan_handle, true,
nan_handle->service_type, service_name, nullptr,
mac, -1, attributes, nullptr, 0,
nan_handle->disc_handle);
+ g_free(mac);
}
/**