projects
/
platform
/
upstream
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb2adba
)
compositor-drm: free plane resources using drm function.
author
Samuel Iglesias Gonsalvez
<siglesias@igalia.com>
Thu, 13 Jun 2013 08:03:33 +0000
(10:03 +0200)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Fri, 14 Jun 2013 19:29:02 +0000
(15:29 -0400)
Free plane resources using drmModeFreePlaneResources()
Signed-off-by: Samuel Iglesias Gonsalvez <siglesias@igalia.com>
src/compositor-drm.c
patch
|
blob
|
history
diff --git
a/src/compositor-drm.c
b/src/compositor-drm.c
index
76d0810
..
8787723
100644
(file)
--- a/
src/compositor-drm.c
+++ b/
src/compositor-drm.c
@@
-2005,8
+2005,7
@@
create_sprites(struct drm_compositor *ec)
wl_list_insert(&ec->sprite_list, &sprite->link);
}
- free(plane_res->planes);
- free(plane_res);
+ drmModeFreePlaneResources(plane_res);
}
static void