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:
Paweł Krześniak 2010-12-20 12:31:19 +01:00 committed by Laine Stump
parent 1e55c382fe
commit ed039abc09
2 changed files with 1 additions and 1 deletions

View File

@ -141,6 +141,7 @@ Patches have also been contributed by:
MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
Josh Durgin <joshd@hq.newdream.net>
Roopa Prabhu <roprabhu@cisco.com>
Paweł Krześniak <pawel.krzesniak@gmail.com>
[....send patches to get your name here....]

View File

@ -557,7 +557,6 @@ dhcpStartDhcpDaemon(virNetworkObjPtr network)
cmd = virCommandNew(DNSMASQ);
if (networkBuildDnsmasqArgv(network, pidfile, cmd) < 0) {
VIR_FREE(pidfile);
goto cleanup;
}