]> git.proxmox.com Git - mirror_qemu.git/blobdiff - qemu-char.c
vga: Add mechanism to force the use of a shadow surface
[mirror_qemu.git] / qemu-char.c
index a8b01da3ee8fdf1561a37b0e273b1a97c9949608..ef84b5368160edcb710a41ad0b3085597c057978 100644 (file)
@@ -3825,9 +3825,7 @@ void qemu_chr_delete(CharDriverState *chr)
     }
     g_free(chr->filename);
     g_free(chr->label);
-    if (chr->opts) {
-        qemu_opts_del(chr->opts);
-    }
+    qemu_opts_del(chr->opts);
     g_free(chr);
 }