mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-31 22:25:25 -04:00
wayland-server: Dont free resource in user data destroy callback
This commit is contained in:
parent
a09d7f0d60
commit
9cc0a67896
1 changed files with 0 additions and 1 deletions
|
|
@ -672,7 +672,6 @@ static void
|
||||||
destroy_client_display_resource(struct wl_resource *resource)
|
destroy_client_display_resource(struct wl_resource *resource)
|
||||||
{
|
{
|
||||||
resource->client->display_resource = NULL;
|
resource->client->display_resource = NULL;
|
||||||
free(resource);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue