From 723250d674a1e9ff601e98b8700f8d631e7b9855 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Wed, 14 Feb 2018 17:36:33 +0100 Subject: g364fb: fix DirtyBitmapSnapshot leak Signed-off-by: Paolo Bonzini --- hw/display/g364fb.c | 1 + 1 file changed, 1 insertion(+) (limited to 'hw/display/g364fb.c') diff --git a/hw/display/g364fb.c b/hw/display/g364fb.c index 819f8be..3d75394 100644 --- a/hw/display/g364fb.c +++ b/hw/display/g364fb.c @@ -207,6 +207,7 @@ done: if (xmax || ymax) { dpy_gfx_update(s->con, xmin, ymin, xmax - xmin + 1, ymax - ymin + 1); } + g_free(snap); } static void g364fb_draw_blank(G364State *s) -- cgit v1.1