]> git.ipfire.org Git - thirdparty/libvirt.git/commit
network: Remove conditional settings to resolve resource leak
authorJohn Ferlan <jferlan@redhat.com>
Wed, 30 Jan 2013 12:21:28 +0000 (07:21 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 5 Feb 2013 21:51:07 +0000 (16:51 -0500)
commit3fa23653eef29ba23a8925b9c741daad68e0c23e
treec936a326a4dd3771c2c38e8f9750f6cc5999467d
parentede91bde83e66d3f083f113f3fd834e1ef74fd2f
network: Remove conditional settings to resolve resource leak

The conditional setting of cmdout in networkBuildDhcpDaemonCommandLine()
caused Coverity to complain that 'cmd' could be leaked if !cmdout.  Since
the function is local and only called with cmdout being passed those checks
have been removed.
src/network/bridge_driver.c