<div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 27, 2012 at 4:55 AM, Ander Conselvan de Oliveira <span dir="ltr">&lt;<a href="mailto:ander.conselvan.de.oliveira@intel.com" target="_blank">ander.conselvan.de.oliveira@intel.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">---<br>
 src/shell.c |    2 +-<br>
 1 files changed, 1 insertions(+), 1 deletions(-)<br>
<br>
diff --git a/src/shell.c b/src/shell.c<br>
index 9c844b5..2001133 100644<br>
--- a/src/shell.c<br>
+++ b/src/shell.c<br>
@@ -447,7 +447,7 @@ ping_handler(struct weston_surface *surface, uint32_t serial)<br>
                return;<br>
<br>
        if (!shsurf-&gt;ping_timer) {<br>
-               shsurf-&gt;ping_timer = malloc(sizeof shsurf-&gt;ping_timer);<br>
+               shsurf-&gt;ping_timer = malloc(sizeof *shsurf-&gt;ping_timer);<br>
                if (!shsurf-&gt;ping_timer)<br>
                        return;<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
1.7.4.1<br><br></font></span></blockquote><div><br>Oops, thanks for catching that.<br><br><br>Scott <br></div></div><br></div>