diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-08-12 08:21:18 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-12 08:21:18 -0400 |
commit | 53a53f55b4f2212fbe81e77beca85f45400e12de (patch) | |
tree | 3d54d0664fe73de8145ee57af890a818ec5b7e5b /backend/drm | |
parent | 65a899924221c3104800a8676852b34b0cd7223d (diff) | |
parent | 3ea878b76e7cf63caf9cddaaabe2faca053d9085 (diff) |
Merge pull request #74 from martinetd/more_leaks
More leaks
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: |