aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2013-07-23 12:27:55 +0200
committerAndreas Schneider <asn@cryptomilk.org>2013-07-23 12:27:55 +0200
commite1280ce153b1b7396bc1c9290d810868ad23c4f4 (patch)
tree6cbe7b105a0118ea93d57c15412876aea41f5f1c /src
parent11c45b0f559bfcd97add6031301c993985db6158 (diff)
downloadlibssh-e1280ce153b1b7396bc1c9290d810868ad23c4f4.tar.gz
libssh-e1280ce153b1b7396bc1c9290d810868ad23c4f4.tar.xz
libssh-e1280ce153b1b7396bc1c9290d810868ad23c4f4.zip
gssapi: Fix a memory leak in ssh_gssapi_auth_mic().
CID: 1046708
Diffstat (limited to 'src')
-rw-r--r--src/gssapi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gssapi.c b/src/gssapi.c
index 228eaef7..d91d0ffc 100644
--- a/src/gssapi.c
+++ b/src/gssapi.c
@@ -745,6 +745,7 @@ int ssh_gssapi_auth_mic(ssh_session session){
for (i = 0; i < n_oids; i++) {
ssh_string_free(oids[i]);
}
+ free(oids);
if (rc != SSH_ERROR) {
return SSH_AUTH_AGAIN;
}