mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-09 06:25:19 +00:00
networkBuildDhcpDaemonCommandLine: Don't leak @configstr and @configfile
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
887dd3625b
commit
223ce2f1a3
@ -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
Block a user