<br><br><div class="gmail_quote">On Fri, Mar 8, 2013 at 12:35 PM, Philipp Brüschweiler <span dir="ltr"><<a href="mailto:blei42@gmail.com" target="_blank">blei42@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Fixes <a href="https://bugs.freedesktop.org/show_bug.cgi?id=61930" target="_blank">https://bugs.freedesktop.org/show_bug.cgi?id=61930</a><br>
---<br>
src/pixman-renderer.c | 2 ++<br>
1 file changed, 2 insertions(+)<br>
<br>
diff --git a/src/pixman-renderer.c b/src/pixman-renderer.c<br>
index 9571f6f..9dbe9f0 100644<br>
--- a/src/pixman-renderer.c<br>
+++ b/src/pixman-renderer.c<br>
@@ -485,6 +485,8 @@ pixman_renderer_init(struct weston_compositor *ec)<br>
if (renderer == NULL)<br>
return -1;<br>
<br>
+ renderer->repaint_debug = 0;<br>
+ renderer->debug_color = NULL;<br></blockquote><div><br>Alternatively you could change malloc to calloc so the entire struct is initialized.<br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
renderer->base.read_pixels = pixman_renderer_read_pixels;<br>
renderer->base.repaint_output = pixman_renderer_repaint_output;<br>
renderer->base.flush_damage = pixman_renderer_flush_damage;<br>
<span class="HOEnZb"><font color="#888888">--<br>
1.8.1.5<br>
<br>
_______________________________________________<br>
wayland-devel mailing list<br>
<a href="mailto:wayland-devel@lists.freedesktop.org">wayland-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/wayland-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/wayland-devel</a><br>
</font></span></blockquote></div><br>