summaryrefslogtreecommitdiff
path: root/lib/krb5_wrap
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2012-09-11 20:12:42 +0300
committerAlexander Bokovoy <ab@samba.org>2012-09-12 10:33:37 +0200
commit45f8f979378c521c0b9e6df606cfe3558f6ee7b1 (patch)
tree44e610ea6646d2ed060de2e17d9bd78161e2e139 /lib/krb5_wrap
parentd55980ccad2fec5d88fceb5eef9df8df647f4e9f (diff)
downloadsamba-45f8f979378c521c0b9e6df606cfe3558f6ee7b1.tar.gz
samba-45f8f979378c521c0b9e6df606cfe3558f6ee7b1.tar.bz2
samba-45f8f979378c521c0b9e6df606cfe3558f6ee7b1.zip
lib/krb5_wrap: when deleting default realm, pass char*, not char**
Autobuild-User(master): Alexander Bokovoy <ab@samba.org> Autobuild-Date(master): Wed Sep 12 10:33:37 CEST 2012 on sn-devel-104
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;