<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Sep 19, 2015 at 5:47 PM, John-John Tedro <span dir="ltr"><<a href="mailto:johnjohn.tedro@gmail.com" target="_blank">johnjohn.tedro@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">create_layout_transition does not initialize is_transition_func.<br>
<br>
This patch initializes it to NULL.<br>
<br>
Signed-off-by: John-John Tedro <<a href="mailto:johnjohn.tedro@gmail.com">johnjohn.tedro@gmail.com</a>><br>
---<br>
ivi-shell/ivi-layout-transition.c | 1 +<br>
1 file changed, 1 insertion(+)<br>
<br>
diff --git a/ivi-shell/ivi-layout-transition.c b/ivi-shell/ivi-layout-transition.c<br>
index d12a8f4..d45b332 100644<br>
--- a/ivi-shell/ivi-layout-transition.c<br>
+++ b/ivi-shell/ivi-layout-transition.c<br>
@@ -251,6 +251,7 @@ create_layout_transition(void)<br>
<br>
transition->is_done = 0;<br>
<br>
+ transition->is_transition_func = NULL;<br>
transition->private_data = NULL;<br>
transition->user_data = NULL;<br>
<span class="HOEnZb"></span></blockquote><div><br></div><div>Maybe this should be using xzalloc, that seems to be the standard method in Weston<br> <br></div></div></div></div>