]> andersk Git - openssh.git/blobdiff - auth2-gss.c
- djm@cvs.openbsd.org 2006/03/20 04:07:22
[openssh.git] / auth2-gss.c
index 95844a05e5ba8d5350be05df87adfe0987b888d7..bbb6db964c032c64ae95002bcc109d213dc6a9e5 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: auth2-gss.c,v 1.12 2005/10/13 22:24:31 stevesk Exp $  */
+/*     $OpenBSD: auth2-gss.c,v 1.13 2006/03/20 04:07:22 djm Exp $      */
 
 /*
  * Copyright (c) 2001-2003 Simon Wilkinson. All rights reserved.
@@ -100,6 +100,8 @@ userauth_gssapi(Authctxt *authctxt)
        }
 
        if (GSS_ERROR(PRIVSEP(ssh_gssapi_server_ctx(&ctxt, &goid)))) {
+               if (ctxt != NULL)
+                       ssh_gssapi_delete_ctx(&ctxt);
                xfree(doid);
                return (0);
        }
This page took 0.044528 seconds and 4 git commands to generate.