summaryrefslogtreecommitdiff
path: root/lib/krb5_wrap
diff options
context:
space:
mode:
Diffstat (limited to 'lib/krb5_wrap')
-rw-r--r--lib/krb5_wrap/krb5_samba.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/krb5_wrap/krb5_samba.c b/lib/krb5_wrap/krb5_samba.c
index 2d237ffa12..1a5a71010e 100644
--- a/lib/krb5_wrap/krb5_samba.c
+++ b/lib/krb5_wrap/krb5_samba.c
@@ -2001,7 +2001,7 @@ krb5_error_code smb_krb5_make_principal(krb5_context context,
va_end(ap);
if (free_realm) {
- krb5_free_default_realm(context, &realm);
+ krb5_free_default_realm(context, realm);
}
return code;