projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9194b5
)
e_plane: release resource if pp fail
96/155596/1
author
Junkyeong Kim
<jk0430.kim@samsung.com>
Sun, 15 Oct 2017 12:12:23 +0000
(21:12 +0900)
committer
Junkyeong Kim
<jk0430.kim@samsung.com>
Sun, 15 Oct 2017 12:12:26 +0000
(21:12 +0900)
Change-Id: I401125e536d558cb99d053cc213eb186afc26c63
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
src/bin/e_plane.c
patch
|
blob
|
history
diff --git
a/src/bin/e_plane.c
b/src/bin/e_plane.c
index
e06d7bf
..
16a00b3
100644
(file)
--- a/
src/bin/e_plane.c
+++ b/
src/bin/e_plane.c
@@
-798,6
+798,7
@@
_e_plane_pp_layer_commit_handler(tdm_layer *layer, unsigned int sequence,
if (!_e_plane_pp_commit(plane, data))
{
ERR("fail _e_plane_pp_commit");
+ e_plane_commit_data_release(data);
return;
}
}
@@
-1030,6
+1031,7
@@
attach_fail:
tbm_surface_internal_unref(pp_tsurface);
tbm_surface_internal_unref(tsurface);
pp_fail:
+ tbm_surface_queue_release(plane->pp_tqueue, pp_tsurface);
ERR("failed _e_plane_pp_commit");