projects
/
platform
/
core
/
uifw
/
pepper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd02283
)
drm: fix resource leak
46/53046/1
author
Sangjin Lee
<lsj119@samsung.com>
Tue, 1 Dec 2015 06:49:15 +0000
(15:49 +0900)
committer
Sangjin Lee
<lsj119@samsung.com>
Tue, 1 Dec 2015 06:49:15 +0000
(15:49 +0900)
Change-Id: Ied296861266fd8479efdf3407ce968cf4a194cca
Signed-off-by: Sangjin Lee <lsj119@samsung.com>
src/lib/drm/drm-common.c
patch
|
blob
|
history
diff --git
a/src/lib/drm/drm-common.c
b/src/lib/drm/drm-common.c
index
6e8ea1b
..
1eab579
100644
(file)
--- a/
src/lib/drm/drm-common.c
+++ b/
src/lib/drm/drm-common.c
@@
-246,6
+246,11
@@
pepper_drm_destroy(pepper_drm_t *drm)
if (drm->gl_renderer)
pepper_renderer_destroy(drm->gl_renderer);
+#ifdef HAVE_TBM
+ if (drm->wl_tbm_server)
+ wayland_tbm_server_deinit(drm->wl_tbm_server);
+#endif
+
if (drm->gbm_device)
gbm_device_destroy(drm->gbm_device);