projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdef4fe
)
ecore_wl2: Fix memory leak on shutdown
author
Derek Foreman
<derekf@osg.samsung.com>
Tue, 13 Feb 2018 23:09:19 +0000
(17:09 -0600)
committer
Wonki Kim
<wonki_.kim@samsung.com>
Thu, 5 Apr 2018 18:05:30 +0000
(
03:05
+0900)
The output list wasn't properly cleaned up on shutdown/disconnect.
src/lib/ecore_wl2/ecore_wl2_window.c
patch
|
blob
|
history
diff --git
a/src/lib/ecore_wl2/ecore_wl2_window.c
b/src/lib/ecore_wl2/ecore_wl2_window.c
index
8c93bd0
..
820100e
100644
(file)
--- a/
src/lib/ecore_wl2/ecore_wl2_window.c
+++ b/
src/lib/ecore_wl2/ecore_wl2_window.c
@@
-85,6
+85,8
@@
_ecore_wl2_window_semi_free(Ecore_Wl2_Window *window)
if (window->callback) wl_callback_destroy(window->callback);
window->callback = NULL;
+ window->outputs = eina_list_free(window->outputs);
+
window->commit_pending = EINA_FALSE;
}