]> git.ipfire.org Git - thirdparty/libvirt.git/commit
network: Resolve Coverity FORWARD_NULL
authorJohn Ferlan <jferlan@redhat.com>
Fri, 16 Jan 2015 11:40:15 +0000 (06:40 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Fri, 16 Jan 2015 11:40:15 +0000 (06:40 -0500)
commitec010a55e7de72f493b1c53b2cb10c6bc433fd58
tree7df4786ebad06ee2160e13b63c03d99756911dbb
parentd7565bd8aab018302307a994e7753766cc72c085
network: Resolve Coverity FORWARD_NULL

Commit id 'ca481a6f' added virNetworkRouteDefFree which may be called
in an error path from lxcAddNetworkRouteDefinition with 'route = NULL'.
So just add the (!def) at the top to resolve.
src/conf/networkcommon_conf.c