aboutsummaryrefslogtreecommitdiff
path: root/backend/drm
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-08-12 08:21:18 -0400
committerGitHub <noreply@github.com>2017-08-12 08:21:18 -0400
commit53a53f55b4f2212fbe81e77beca85f45400e12de (patch)
tree3d54d0664fe73de8145ee57af890a818ec5b7e5b /backend/drm
parent65a899924221c3104800a8676852b34b0cd7223d (diff)
parent3ea878b76e7cf63caf9cddaaabe2faca053d9085 (diff)
Merge pull request #74 from martinetd/more_leaks
More leaks
Diffstat (limited to 'backend/drm')
-rw-r--r--backend/drm/drm.c1
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: