compositor-drm: free plane resources using drm function.
Free plane resources using drmModeFreePlaneResources() Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
This commit is contained in:
committed by
Kristian Høgsberg
parent
fb2adba3da
commit
de4667351c
@@ -2005,8 +2005,7 @@ create_sprites(struct drm_compositor *ec)
|
|||||||
wl_list_insert(&ec->sprite_list, &sprite->link);
|
wl_list_insert(&ec->sprite_list, &sprite->link);
|
||||||
}
|
}
|
||||||
|
|
||||||
free(plane_res->planes);
|
drmModeFreePlaneResources(plane_res);
|
||||||
free(plane_res);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|||||||
Reference in New Issue
Block a user