提交 723250d6 编写于 作者: P Paolo Bonzini

g364fb: fix DirtyBitmapSnapshot leak

Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
上级 58e2e17d
...@@ -207,6 +207,7 @@ done: ...@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册