]> git.proxmox.com Git - mirror_qemu.git/blobdiff - sdl.c
Make qemu-img argument handling POSIX compliant
[mirror_qemu.git] / sdl.c
diff --git a/sdl.c b/sdl.c
index cfdf85237359b3621f4274384ad76ba4f8a28767..266fbcc8c55b26d561245822910d1e1c5677a693 100644 (file)
--- a/sdl.c
+++ b/sdl.c
@@ -638,8 +638,6 @@ void sdl_display_init(DisplayState *ds, int full_screen, int no_frame)
     }
 
     dcl = qemu_mallocz(sizeof(DisplayChangeListener));
-    if (!dcl)
-        exit(1);
     dcl->dpy_update = sdl_update;
     dcl->dpy_resize = sdl_resize;
     dcl->dpy_refresh = sdl_refresh;