vboxDumpDisplay: allocate the graphics structure upfront
Allocate it as soon as we know we will need it. Add it to def->ngraphics if it's allocated, removing the need to use the addDesktop and totalPresent variables to track this.
Showing
想要评论请 注册 或 登录