diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2018-02-14 17:36:33 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-03-06 14:00:58 +0100 |
commit | 723250d674a1e9ff601e98b8700f8d631e7b9855 (patch) | |
tree | 920a39b9994aa3ec0e4cd7e64769718640279ce5 | |
parent | 58e2e17dba49b43f4ac9de19468aeae1c787dcc2 (diff) |
g364fb: fix DirtyBitmapSnapshot leak
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r-- | hw/display/g364fb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/display/g364fb.c b/hw/display/g364fb.c index 819f8be05d..3d75394e77 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) |