]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: fix bug found by Coverity
authorLaine Stump <laine@laine.org>
Tue, 25 Jun 2013 15:42:13 +0000 (11:42 -0400)
committerLaine Stump <laine@laine.org>
Tue, 25 Jun 2013 18:57:24 +0000 (14:57 -0400)
commit003118deb4b0dc243cf362261fa33aa2b7657519
treed7b7729c24c97350820c48919f2d4f7c27cd71cd
parent0fc12bca0893698ed85060711a017abe77ae2367
util: fix bug found by Coverity

Commit 861d40565 added code (my personal change to "clean up" the
submitter's code, *not* the fault of the submitter) that dereferenced
virtVlan without first checking for NULL. This patch fixes that and,
as part of the fix, cleans up some unnecessary obtuseness.
src/util/virnetdevopenvswitch.c