mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-29 05:40:16 -04:00
wayland-server: Remove left-over double free in unbind_resource() helper
This commit is contained in:
parent
c82a52a47e
commit
477c7237e1
1 changed files with 0 additions and 1 deletions
|
|
@ -620,7 +620,6 @@ static void
|
||||||
unbind_resource(struct wl_resource *resource)
|
unbind_resource(struct wl_resource *resource)
|
||||||
{
|
{
|
||||||
wl_list_remove(&resource->link);
|
wl_list_remove(&resource->link);
|
||||||
free(resource);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue