SDL_waylanddatamanager.c:Wayland_data_offer_check_source(): Return when offer is NULL

This commit is contained in:
Petar Popovic authored and Frank Praznik committed 2025-07-28 11:25:14 -04:00
1 parent 507ee033cc
commit dc1bf60b15
1 file changed
+1
@@ -393,6 +393,7 @@ static void Wayland_data_offer_check_source(SDL_WaylandDataOffer *offer, const c
if (!offer) {
SDL_SetError("Invalid data offer");
return;
}
data_device = offer->data_device;
if (!data_device) {