projects
/
profile
/
ivi
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32ff1f5
)
compositor: Silence a couple of valgrind warnings
author
Kristian Høgsberg
<krh@bitplanet.net>
Wed, 12 Oct 2011 20:29:31 +0000
(16:29 -0400)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Wed, 12 Oct 2011 20:29:31 +0000
(16:29 -0400)
compositor/compositor.c
patch
|
blob
|
history
diff --git
a/compositor/compositor.c
b/compositor/compositor.c
index
d2e8ce7
..
5690efe
100644
(file)
--- a/
compositor/compositor.c
+++ b/
compositor/compositor.c
@@
-208,6
+208,7
@@
surface_handle_buffer_destroy(struct wl_listener *listener,
buffer_destroy_listener);
struct wl_buffer *buffer = (struct wl_buffer *) resource;
+ wl_list_init(&es->buffer_destroy_listener.link);
if (es->buffer == buffer)
es->buffer = NULL;
}
@@
-256,6
+257,7
@@
wlsc_surface_create(struct wlsc_compositor *compositor,
surface->width = width;
surface->height = height;
+ surface->fullscreen_output = NULL;
surface->buffer = NULL;
surface->output = NULL;