Make finalization of DisplayChannel consistent with other code. Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx> --- server/display-channel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/display-channel.c b/server/display-channel.c index 52f0a3d..cd1334d 100644 --- a/server/display-channel.c +++ b/server/display-channel.c @@ -77,10 +77,10 @@ display_channel_finalize(GObject *object) { DisplayChannel *self = DISPLAY_CHANNEL(object); - G_OBJECT_CLASS(display_channel_parent_class)->finalize(object); - g_array_unref(self->priv->video_codecs); g_free(self->priv); + + G_OBJECT_CLASS(display_channel_parent_class)->finalize(object); } static void drawable_draw(DisplayChannel *display, Drawable *drawable); -- git-series 0.9.1 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel