mirror of https://gitee.com/openkylin/libvirt.git
networkBuildDhcpDaemonCommandLine: Don't leak @configstr and @configfile
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
887dd3625b
commit
223ce2f1a3
src/network
|
@ -1061,6 +1061,8 @@ networkBuildDhcpDaemonCommandLine(virNetworkObjPtr network,
|
|||
*cmdout = cmd;
|
||||
ret = 0;
|
||||
cleanup:
|
||||
VIR_FREE(configfile);
|
||||
VIR_FREE(configstr);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue