Commit 5a39e0cd authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Free the CLI answer, also in terminal circumstances, to silence Coverity

parent f10f433d
......@@ -124,6 +124,7 @@ cli_sock(const char *T_arg, const char *S_arg)
if (status == CLIS_AUTH) {
if (S_arg == NULL) {
fprintf(stderr, "Authentication required\n");
free(answer);
closefd(&sock);
return (-1);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment