From: Volker Lendecke Date: Thu, 15 Mar 2007 22:48:30 +0000 (+0000) Subject: r21851: Obvious typos... X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~938 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff886436b739bbb5c00a67de970841205a3f447c;p=thirdparty%2Fsamba.git r21851: Obvious typos... --- diff --git a/source/libaddns/dnsgss.c b/source/libaddns/dnsgss.c index 207e86c3edf..8324e6761f3 100644 --- a/source/libaddns/dnsgss.c +++ b/source/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 );