On Mon, Sep 04, 2017 at 04:02:58PM +0100, Frediano Ziglio wrote: > > -static CursorItem *cursor_item_new(QXLInstance *qxl, RedCursorCmd *cmd) > +static RedCursorPipeItem *cursor_pipe_item_new(QXLInstance *qxl, RedCursorCmd *cmd) > { > - CursorItem *cursor_item; > + RedCursorPipeItem *item = spice_malloc0(sizeof(RedCursorPipeItem)); Fwiw, I'd favour g_new0/g_free over spice_malloc0 in new code. Acked-by: Christophe Fergeau <cfergeau@xxxxxxxxxx> Christophe _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel