diff --git a/src/wayland/securitycontext_v1.cpp b/src/wayland/securitycontext_v1.cpp index bfae9f35a7..eddc31a170 100644 --- a/src/wayland/securitycontext_v1.cpp +++ b/src/wayland/securitycontext_v1.cpp @@ -24,7 +24,8 @@ public: SecurityContextManagerV1InterfacePrivate(Display *display); protected: - void wp_security_context_manager_v1_create_listener(Resource *resource, uint32_t id, int32_t listen_fd, int32_t close_fd); + void wp_security_context_manager_v1_destroy(Resource *resource) override; + void wp_security_context_manager_v1_create_listener(Resource *resource, uint32_t id, int32_t listen_fd, int32_t close_fd) override; private: Display *m_display; @@ -69,6 +70,11 @@ SecurityContextManagerV1InterfacePrivate::SecurityContextManagerV1InterfacePriva { } +void SecurityContextManagerV1InterfacePrivate::wp_security_context_manager_v1_destroy(Resource *resource) +{ + wl_resource_destroy(resource->handle); +} + void SecurityContextManagerV1InterfacePrivate::wp_security_context_manager_v1_create_listener(Resource *resource, uint32_t id, int32_t listen_fd, int32_t close_fd) { auto *securityContextResource = wl_resource_create(resource->client(), &wp_security_context_v1_interface, resource->version(), id);