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.
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
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.