(add_one_principal): pass right argument to kadm5_free_principal_ent
From Panasas, Inc git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13200 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -183,7 +183,7 @@ out:
|
|||||||
if (princ_ent)
|
if (princ_ent)
|
||||||
krb5_free_principal (context, princ_ent);
|
krb5_free_principal (context, princ_ent);
|
||||||
if(default_ent)
|
if(default_ent)
|
||||||
kadm5_free_principal_ent (context, default_ent);
|
kadm5_free_principal_ent (kadm_handle, default_ent);
|
||||||
if (password != NULL)
|
if (password != NULL)
|
||||||
memset (password, 0, strlen(password));
|
memset (password, 0, strlen(password));
|
||||||
return ret;
|
return ret;
|
||||||
|
Reference in New Issue
Block a user