diff options
author | Volker Lendecke <vlendec@samba.org> | 2007-03-15 22:48:30 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:18:38 -0500 |
commit | d873858976a2ce70cfa9c790a083ae4fb0ff6b02 (patch) | |
tree | 38a9b9070bebfc70c261decbc1528497d40708ae /source3 | |
parent | b74cb6740f78b9b2c02eb3bc0afb1b7378ac0bc2 (diff) | |
download | samba-d873858976a2ce70cfa9c790a083ae4fb0ff6b02.tar.gz samba-d873858976a2ce70cfa9c790a083ae4fb0ff6b02.tar.bz2 samba-d873858976a2ce70cfa9c790a083ae4fb0ff6b02.zip |
r21851: Obvious typos...
(This used to be commit ff886436b739bbb5c00a67de970841205a3f447c)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libaddns/dnsgss.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libaddns/dnsgss.c b/source3/libaddns/dnsgss.c index 207e86c3ed..8324e6761f 100644 --- a/source3/libaddns/dnsgss.c +++ b/source3/libaddns/dnsgss.c @@ -252,7 +252,7 @@ DNS_ERROR dns_negotiate_sec_ctx( const char *target_realm, krb5_init_context( &krb_ctx ); krb5_parse_name( krb_ctx, targetname, &host_principal ); - /* don't free the printcap until after you call + /* don't free the principal until after you call gss_release_name() or else you'll get a segv as the krb5_copy_principal() does a structure copy and not a deep copy. --jerry*/ @@ -275,7 +275,7 @@ DNS_ERROR dns_negotiate_sec_ctx( const char *target_realm, gss_release_name( &minor, &targ_name ); - /* now we can feree the principal */ + /* now we can free the principal */ krb5_free_principal( krb_ctx, host_principal ); krb5_free_context( krb_ctx ); |