diff options
Diffstat (limited to 'src/agent.c')
-rw-r--r-- | src/agent.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/agent.c b/src/agent.c index 18b6bb78..1f7454e6 100644 --- a/src/agent.c +++ b/src/agent.c @@ -334,11 +334,11 @@ int ssh_agent_get_ident_count(struct ssh_session_struct *session) { /* send message to the agent requesting the list of identities */ request = ssh_buffer_new(); if (request == NULL) { - ssh_set_error_oom(request); + ssh_set_error_oom(session); return -1; } if (buffer_add_u8(request, c1) < 0) { - ssh_set_error_oom(request); + ssh_set_error_oom(session); ssh_buffer_free(request); return -1; } |