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:
eb76484
)
compositor-wayland: Destroy wl_callback in callback function
author
Kristian Høgsberg
<krh@bitplanet.net>
Tue, 7 Feb 2012 14:56:15 +0000
(09:56 -0500)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Tue, 7 Feb 2012 14:56:15 +0000
(09:56 -0500)
src/compositor-wayland.c
patch
|
blob
|
history
diff --git
a/src/compositor-wayland.c
b/src/compositor-wayland.c
index
6eb0cd0
..
d8bee21
100644
(file)
--- a/
src/compositor-wayland.c
+++ b/
src/compositor-wayland.c
@@
-162,10
+162,11
@@
wayland_compositor_init_egl(struct wayland_compositor *c)
}
static void
-frame_done(void *data, struct wl_callback *
wl_
callback, uint32_t time)
+frame_done(void *data, struct wl_callback *callback, uint32_t time)
{
struct weston_output *output = data;
+ wl_callback_destroy(callback);
weston_output_finish_frame(output, time);
}