Hi all, for the latest commit in 'spice-gtk/src/channel-display.c', in the
static function
'create_canvas', the first returning point (line 997) and the 'if
(surface->primary)' (line 1036)
is not taken then the second returning point, the allocated memory for
surface would be lost.

All the calling site store surface on the stack.

Can anyone confirm this?

-- 
Best Regards

Ding Fei
E-mail: danix...@gmail.com
_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to