mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-01-05 02:23:54 +00:00
Avoid use after free
self->priv was deleted and then used Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Pavel Grunt <pgrunt@redhat.com>
This commit is contained in:
parent
39b6b65421
commit
36bf206df8
@ -79,8 +79,8 @@ display_channel_finalize(GObject *object)
|
||||
|
||||
G_OBJECT_CLASS(display_channel_parent_class)->finalize(object);
|
||||
|
||||
g_free(self->priv);
|
||||
g_array_unref(self->priv->video_codecs);
|
||||
g_free(self->priv);
|
||||
}
|
||||
|
||||
static void drawable_draw(DisplayChannel *display, Drawable *drawable);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user