1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-07-29 13:01:13 +03:00

fix: memory leaks in gssapi.c

fix: implement gssapi logging according to docs

fix: remove redundant setting of session->gssapi to NULL

feat: add gssapi struct and functions to header file

refactor: initialize gssapi context once

fix: remove redundant ssh_gssapi_free

Signed-off-by: Gauravsingh Sisodia <xaerru@gmail.com>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Sahana Prasad <sahana@redhat.com>
This commit is contained in:
Gauravsingh Sisodia
2024-05-14 10:37:48 +00:00
committed by Sahana Prasad
parent 74d42ca38b
commit 965a94b515
6 changed files with 116 additions and 113 deletions

View File

@ -56,6 +56,8 @@ void free_server_state(struct server_state_st *state)
SAFE_FREE(state->expected_password);
SAFE_FREE(state->config_file);
SAFE_FREE(state->log_file);
SAFE_FREE(state->server_cb);
SAFE_FREE(state->channel_cb);
}
/* SIGCHLD handler for cleaning up dead children. */