
19 Dec
2019
19 Dec
'19
2 p.m.
On 12/19/19 7:04 AM, Fabiano FidĂȘncio wrote:
Signed-off-by: Fabiano FidĂȘncio <fidencio@redhat.com> --- src/rpc/virnetclient.c | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-)
[...]
if (knownHostsPath) { @@ -517,12 +517,6 @@ virNetClientPtr virNetClientNewLibSSH2(const char *host, goto cleanup;
cleanup: - VIR_FREE(command); - VIR_FREE(privkey); - VIR_FREE(knownhosts); - VIR_FREE(homedir); - VIR_FREE(confdir); - VIR_FREE(nc); return ret;
This will leave a now unneeded 'cleanup' label: cleanup: return ret; In a quick glance at the patch series I noticed that Patch 41 also leaves an unused 'cleanup' label as well after the changes. Thanks, DHB
no_memory: