With the change to move free()ing of the wl_resource into wayland-server, we now have
a few cases where we double free the resource in the destructor. This patch
removes those.
if (sub)
weston_subsurface_destroy(sub);
-
- free(resource);
}
static void
static void unbind_resource(struct wl_resource *resource)
{
wl_list_remove(wl_resource_get_link(resource));
- free(resource);
}
void
input_method_context_end_keyboard_grab(context);
context->keyboard = NULL;
-
- free(resource);
}
static void
input_method->context = NULL;
text_backend->input_method.binding = NULL;
-
- free(resource);
}
static void