]> xenbits.xensource.com Git - libvirt.git/commit
vboxDumpDisplay: clean up VIR_STRDUP usage
authorJán Tomko <jtomko@redhat.com>
Fri, 5 Feb 2016 16:09:05 +0000 (17:09 +0100)
committerJán Tomko <jtomko@redhat.com>
Tue, 9 Feb 2016 09:09:41 +0000 (10:09 +0100)
commitfcecbb37bf3e09d634ddc874fc8a1c5a68c536b8
treeb4bcaa039d2add7515f764b23892edf5fa1ec2d8
parent8f8c473a982ace411e293562bf948b3c721a7b5f
vboxDumpDisplay: clean up VIR_STRDUP usage

Two VIR_STRDUP calls are redundant - just steal the string
converted by VBOX_UTF16_TO_UTF8.

Report an error when the third one fails.
src/vbox/vbox_common.c