diff options
-rw-r--r-- | types/wlr_session_lock_v1.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/types/wlr_session_lock_v1.c b/types/wlr_session_lock_v1.c index 10e888fe..4b8a69ad 100644 --- a/types/wlr_session_lock_v1.c +++ b/types/wlr_session_lock_v1.c @@ -189,6 +189,7 @@ static void lock_surface_role_destroy(struct wlr_surface *surface) { if (lock_surface == NULL) { return; } + lock_surface_destroy(lock_surface); } static const struct wlr_surface_role lock_surface_role = { |