plug memory leak

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24167 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2008-12-11 05:11:13 +00:00
parent 60b4ec74d5
commit b63c408070

View File

@@ -1576,7 +1576,8 @@ server_lookup:
kdc_log(context, config, 0,
"Addition ticket have not matching etypes", spp);
krb5_clear_error_message(context);
return KRB5KDC_ERR_ETYPE_NOSUPP;
ret = KRB5KDC_ERR_ETYPE_NOSUPP;
goto out;
}
etype = b->etype.val[i];
kvno = 0;
@@ -1588,7 +1589,7 @@ server_lookup:
if(ret) {
kdc_log(context, config, 0,
"Server (%s) has no support for etypes", spn);
return ret;
goto out;
}
ekey = &skey->key;
kvno = server->entry.kvno;