]> git.ipfire.org Git - thirdparty/libvirt.git/commit
vbox: fix VIR_STRDUP value check
authorJán Tomko <jtomko@redhat.com>
Mon, 20 May 2013 09:48:34 +0000 (11:48 +0200)
committerJán Tomko <jtomko@redhat.com>
Wed, 22 May 2013 05:24:14 +0000 (07:24 +0200)
commit1c65362f11dd3f3f99cb2104254c9ee99bf197bd
treee3bb6adc3d78edbf988d0f686394c349d35271ca
parentba0880b25c6505691efb8c6be26b4ce9176143da
vbox: fix VIR_STRDUP value check

In my review of 31532ca I missed the fact that VIR_STRDUP
now returns 1 on success, and 0 if the source was NULL.

(This still doesn't add proper OOM error handling.)
src/vbox/vbox_tmpl.c