Avoid free-ing type1 message before its allocated.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22519 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2008-01-24 11:51:29 +00:00
parent 7612bcf83c
commit 1a28e89e61

View File

@@ -114,7 +114,6 @@ _gss_ntlm_accept_sec_context
/* check if the mechs is allowed by remote service */
major_status = (*ctx->server->nsi_probe)(minor_status, ctx->ictx, NULL);
if (major_status) {
heim_ntlm_free_type1(&type1);
_gss_ntlm_delete_sec_context(minor_status, context_handle, NULL);
return major_status;
}