diff options
-rw-r--r-- | src/lib/gssapi/mechglue/g_initialize.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/gssapi/mechglue/g_initialize.c b/src/lib/gssapi/mechglue/g_initialize.c index b0eb40a57..fb400edd7 100644 --- a/src/lib/gssapi/mechglue/g_initialize.c +++ b/src/lib/gssapi/mechglue/g_initialize.c @@ -727,8 +727,10 @@ build_dynamicMech(void *dl, const gss_OID mech_type) "gssi" #_nsym, \ (void (**)())&(_mech)->_psym \ ## _nsym, \ - &errinfo) || errinfo.code) \ + &errinfo) || errinfo.code) { \ (_mech)->_psym ## _nsym = NULL; \ + k5_clear_error(&errinfo); \ + } \ } while (0) /* Build an interposer mechanism function table from dl. */ |