(krb5_free_error, krb5_free_error_contents): new functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5307 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 1997 Kungliga Tekniska H<>gskolan
|
* Copyright (c) 1997, 1998, 1999 Kungliga Tekniska H<>gskolan
|
||||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
@@ -54,3 +54,18 @@ krb5_rd_error(krb5_context context,
|
|||||||
result->error_code += KRB5KDC_ERR_NONE;
|
result->error_code += KRB5KDC_ERR_NONE;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
krb5_free_error_contents (krb5_context context,
|
||||||
|
krb5_error *error)
|
||||||
|
{
|
||||||
|
free_KRB_ERROR(error);
|
||||||
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
krb5_free_error (krb5_context context,
|
||||||
|
krb5_error *error)
|
||||||
|
{
|
||||||
|
krb5_free_error_contents (context, error);
|
||||||
|
free (error);
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user