projects
/
profile
/
ivi
/
weston-ivi-shell.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e45e87
)
Properly free drm plane during creation of sprites
author
Chris Michael
<cp.michael@samsung.com>
Thu, 2 Jan 2014 11:39:40 +0000
(11:39 +0000)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Thu, 2 Jan 2014 23:22:59 +0000
(15:22 -0800)
If we fail to allocate space for a new drm_sprite, then we should
properly call drmModeFreePlane (not free) to release the drm plane.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/compositor-drm.c
patch
|
blob
|
history
diff --git
a/src/compositor-drm.c
b/src/compositor-drm.c
index
d637e75
..
75644e1
100644
(file)
--- a/
src/compositor-drm.c
+++ b/
src/compositor-drm.c
@@
-2107,7
+2107,7
@@
create_sprites(struct drm_compositor *ec)
if (!sprite) {
weston_log("%s: out of memory\n",
__func__);
-
fre
e(plane);
+
drmModeFreePlan
e(plane);
continue;
}