Some VNC cleanups
Inspired by !979 (merged), which includes similar changes in the RDP backend:
Use xzalloc()
instead of manual OOM handling, set static properties during head creation, fix mode flags, and drop unnecessary output release.
Inspired by !979 (merged), which includes similar changes in the RDP backend:
Use xzalloc()
instead of manual OOM handling, set static properties during head creation, fix mode flags, and drop unnecessary output release.