mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-09-09 01:04:59 +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;
|
*cmdout = cmd;
|
||||||
ret = 0;
|
ret = 0;
|
||||||
cleanup:
|
cleanup:
|
||||||
|
VIR_FREE(configfile);
|
||||||
|
VIR_FREE(configstr);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user