From: Gerd Hoffman <kra...@redhat.com>

Tested-by: Alon Levy <al...@redhat.com>
---
 hw/vga.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/hw/vga.c b/hw/vga.c
index c1029db..a728f29 100644
--- a/hw/vga.c
+++ b/hw/vga.c
@@ -2369,6 +2369,7 @@ static void vga_save_dpy_update(DisplayState *ds,
 {
     if (screen_dump_filename) {
         ppm_save(screen_dump_filename, ds->surface);
+        screen_dump_filename = NULL;
     }
 }
 
-- 
1.7.9.1


Reply via email to