clear error strings

.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20305 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2007-04-11 11:15:30 +00:00
parent 1dda5d8b5f
commit f523c291f5

View File

@@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997 - 2001, 2003 - 2005 Kungliga Tekniska H<>gskolan * Copyright (c) 1997 - 2007 Kungliga Tekniska H<>gskolan
* (Royal Institute of Technology, Stockholm, Sweden). * (Royal Institute of Technology, Stockholm, Sweden).
* All rights reserved. * All rights reserved.
* *
@@ -208,6 +208,8 @@ find_etypelist(krb5_context context,
adIfRelevant.val[0].ad_data.length, adIfRelevant.val[0].ad_data.length,
etypes, etypes,
NULL); NULL);
if (ret)
krb5_clear_error_string(context);
free_AD_IF_RELEVANT(&adIfRelevant); free_AD_IF_RELEVANT(&adIfRelevant);