mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-24 21:45:21 +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…
x
Reference in New Issue
Block a user