mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-07 15:10:49 +00:00
SDL_waylanddatamanager.c:Wayland_data_offer_check_source(): Return when offer is NULL
This commit is contained in:
parent
507ee033cc
commit
dc1bf60b15
1 changed files with 1 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue