First version from kllin.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20131 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -849,8 +849,9 @@ _kdc_do_digest(krb5_context context,
|
|||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
hex_encode(md, sizeof(md), &mdx);
|
hex_encode(answer.data, answer.length, &mdx);
|
||||||
if (mdx == NULL) {
|
if (mdx == NULL) {
|
||||||
|
free(answer.data);
|
||||||
krb5_clear_error_string(context);
|
krb5_clear_error_string(context);
|
||||||
ret = ENOMEM;
|
ret = ENOMEM;
|
||||||
goto out;
|
goto out;
|
||||||
|
Reference in New Issue
Block a user