mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-29 00:41:33 +00:00
stream: Remove region leak
clip_in_draw_dest was not freed correctly. Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
This commit is contained in:
parent
0b39aecb26
commit
e4d06191ee
@ -316,6 +316,7 @@ static void attach_stream(DisplayChannel *display, Drawable *drawable, Stream *s
|
||||
region_or(&agent->clip, &drawable->tree_item.base.rgn);
|
||||
dcc_stream_agent_clip(dcc, agent);
|
||||
}
|
||||
region_destroy(&clip_in_draw_dest);
|
||||
#ifdef STREAM_STATS
|
||||
agent->stats.num_input_frames++;
|
||||
#endif
|
||||
|
||||
Loading…
Reference in New Issue
Block a user