]> git.ipfire.org Git - thirdparty/libvirt.git/commit
vboxDumpNetwork: use VIR_STEAL_PTR instead of VIR_STRDUP
authorJán Tomko <jtomko@redhat.com>
Fri, 23 Feb 2018 13:52:24 +0000 (14:52 +0100)
committerJán Tomko <jtomko@redhat.com>
Mon, 5 Mar 2018 11:57:47 +0000 (12:57 +0100)
commit1b75e8c5fa061a45698fc9ca96a2581795a73881
treed1f850314f1dc11ceb86cddda1ba91534bbf3785
parent21f91fc5f64a378fe26e3382b86fcecdc38e3d3d
vboxDumpNetwork: use VIR_STEAL_PTR instead of VIR_STRDUP

We can steal the strings instead of creating more copies.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
src/vbox/vbox_common.c