> 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: danix800@xxxxxxxxx Indeed, you should g_free(surface). OT: And apparently format is not used any more. Frediano _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel