Fixes after coverity static analysis

This commit is contained in:
Olof hagsand 2024-03-03 17:05:36 +01:00
parent d94b4f5b7c
commit a1badc312e
24 changed files with 148 additions and 70 deletions

View file

@ -299,6 +299,8 @@ clixon_client_connect_netconf(clixon_handle h,
}
retval = 0;
done:
if (argv)
free(argv);
return retval;
}
@ -340,6 +342,8 @@ clixon_client_connect_ssh(clixon_handle h,
}
retval = 0;
done:
if (argv)
free(argv);
return retval;
}