]> xenbits.xensource.com Git - libvirt.git/commit
lxc: Resolve Coverity FORWARD_NULL
authorJohn Ferlan <jferlan@redhat.com>
Thu, 4 Sep 2014 20:22:07 +0000 (16:22 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Thu, 11 Sep 2014 12:10:13 +0000 (08:10 -0400)
commit0311be9435087984c495243fbb378b7533beb99e
tree533c609eb37482906a5b441fc400a15067d5e43c
parentbf15f10abe71dfa0e814185ca5217406b10601c2
lxc: Resolve Coverity FORWARD_NULL

If we jump to cleanup before allocating 'result', then the call to
virBlkioDeviceArrayClear() could dereference result

Signed-off-by: John Ferlan <jferlan@redhat.com>
src/lxc/lxc_driver.c