mirror of https://github.com/xemu-project/xemu.git
g364fb: fix DirtyBitmapSnapshot leak
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
58e2e17dba
commit
723250d674
|
@ -207,6 +207,7 @@ done:
|
||||||
if (xmax || ymax) {
|
if (xmax || ymax) {
|
||||||
dpy_gfx_update(s->con, xmin, ymin, xmax - xmin + 1, ymax - ymin + 1);
|
dpy_gfx_update(s->con, xmin, ymin, xmax - xmin + 1, ymax - ymin + 1);
|
||||||
}
|
}
|
||||||
|
g_free(snap);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void g364fb_draw_blank(G364State *s)
|
static void g364fb_draw_blank(G364State *s)
|
||||||
|
|
Loading…
Reference in New Issue