g364fb: fix DirtyBitmapSnapshot leak

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Paolo Bonzini 2018-02-14 17:36:33 +01:00
parent 58e2e17dba
commit 723250d674
1 changed files with 1 additions and 0 deletions

View File

@ -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)