diff --git a/backend/drm/backend.c b/backend/drm/backend.c index 5c0c77bd..d166f467 100644 --- a/backend/drm/backend.c +++ b/backend/drm/backend.c @@ -281,6 +281,7 @@ error_fd: wl_list_remove(&drm->dev_change.link); wl_list_remove(&drm->parent_destroy.link); wlr_session_close_file(drm->session, dev); + free(drm->name); free(drm); return NULL; }