Skip to content
Snippets Groups Projects
Commit 1326b624 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Fix memory leak when connection lost during SFTP key check

Found by scan-build
parent 5ff8b9fe
No related branches found
No related tags found
No related merge requests found
Pipeline #7607 passed
......@@ -497,6 +497,7 @@ key_not_present(sftp_filehandle_t f, const char *priv)
bufpos = bufpos - eol;
}
}
free(buf);
return false;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment