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:
9318272
)
pepper: destroy resources in subcompositor_destroy
13/52913/1
author
Jaehoon Jeong
<jh01.j@samsung.com>
Wed, 25 Nov 2015 06:51:39 +0000
(15:51 +0900)
committer
Taekyun Kim
<tkq.kim@samsung.com>
Fri, 27 Nov 2015 10:28:31 +0000
(19:28 +0900)
Change-Id: I0c3a7591403d411409e92a9553daa24d5a3870bc
src/lib/pepper/subcompositor.c
patch
|
blob
|
history
diff --git
a/src/lib/pepper/subcompositor.c
b/src/lib/pepper/subcompositor.c
index
4249cdf
..
85c296c
100644
(file)
--- a/
src/lib/pepper/subcompositor.c
+++ b/
src/lib/pepper/subcompositor.c
@@
-124,10
+124,13
@@
error:
void
pepper_subcompositor_destroy(pepper_subcompositor_t *subcompositor)
{
+ struct wl_resource *resource, *tmp;
+
if (subcompositor->global)
wl_global_destroy(subcompositor->global);
- /* TODO */
+ wl_resource_for_each_safe(resource, tmp, &subcompositor->resource_list)
+ wl_resource_destroy(resource);
pepper_object_fini(&subcompositor->base);
free(subcompositor);