mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 19:45:21 +00:00
bridge_driver: avoid double call to VIR_FREE
While not technically a double free (since VIR_FREE NULLs the pointer), this is unnecessary extra code. This crept in when the function was converted from virRun to virCommand. The AUTHORS file has also been updated.
This commit is contained in:
parent
1e55c382fe
commit
ed039abc09
1
AUTHORS
1
AUTHORS
@ -141,6 +141,7 @@ Patches have also been contributed by:
|
|||||||
MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
|
MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
|
||||||
Josh Durgin <joshd@hq.newdream.net>
|
Josh Durgin <joshd@hq.newdream.net>
|
||||||
Roopa Prabhu <roprabhu@cisco.com>
|
Roopa Prabhu <roprabhu@cisco.com>
|
||||||
|
Paweł Krześniak <pawel.krzesniak@gmail.com>
|
||||||
|
|
||||||
[....send patches to get your name here....]
|
[....send patches to get your name here....]
|
||||||
|
|
||||||
|
@ -557,7 +557,6 @@ dhcpStartDhcpDaemon(virNetworkObjPtr network)
|
|||||||
|
|
||||||
cmd = virCommandNew(DNSMASQ);
|
cmd = virCommandNew(DNSMASQ);
|
||||||
if (networkBuildDnsmasqArgv(network, pidfile, cmd) < 0) {
|
if (networkBuildDnsmasqArgv(network, pidfile, cmd) < 0) {
|
||||||
VIR_FREE(pidfile);
|
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user