mirror of https://github.com/encounter/SDL.git
wayland: fix memleak in output listener
This commit is contained in:
parent
e9179314c4
commit
68ca35c318
|
@ -391,6 +391,7 @@ display_handle_done(void *data,
|
|||
|
||||
driverdata->placeholder.driverdata = driverdata;
|
||||
SDL_AddVideoDisplay(&driverdata->placeholder, SDL_FALSE);
|
||||
SDL_free(driverdata->placeholder.name);
|
||||
SDL_zero(driverdata->placeholder);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue