diff options
author | Dominique Martinet <asmadeus@codewreck.org> | 2017-08-12 00:02:04 +0200 |
---|---|---|
committer | Dominique Martinet <asmadeus@codewreck.org> | 2017-08-12 00:11:18 +0200 |
commit | de86965174a5ccb6c204c52d6e57812c1fa64a24 (patch) | |
tree | daed5db6b7ca573b22e36de8b29db4290b3ccf9b /backend/drm | |
parent | e1293a78530a5de9280ee76e83488a2a04c95c79 (diff) |
Use libinput_event_destroy/xkb_*_unref
Also sneak in a missing drmModeFreePlaneResources
Diffstat (limited to 'backend/drm')
-rw-r--r-- | backend/drm/drm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/drm/drm.c b/backend/drm/drm.c index 8062a478..04822040 100644 --- a/backend/drm/drm.c +++ b/backend/drm/drm.c @@ -104,6 +104,7 @@ static bool init_planes(struct wlr_backend_state *drm) { drm->primary_planes = drm->overlay_planes + drm->num_overlay_planes; drm->cursor_planes = drm->primary_planes + drm->num_primary_planes; + drmModeFreePlaneResources(plane_res); return true; error_planes: |