diff options
author | Not Zed <NotZed@Ximian.com> | 2001-03-30 08:31:20 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2001-03-30 08:31:20 +0800 |
commit | 554de99b229180451331f81adc3f6195bf525878 (patch) | |
tree | bf56d161d8c74305a793c95bf483ba28c7caa4f8 /camel/camel-sasl-kerberos4.c | |
parent | 424506262d215dfe306aea0d0fe86833d08b82a4 (diff) | |
download | gsoc2013-evolution-554de99b229180451331f81adc3f6195bf525878.tar gsoc2013-evolution-554de99b229180451331f81adc3f6195bf525878.tar.gz gsoc2013-evolution-554de99b229180451331f81adc3f6195bf525878.tar.bz2 gsoc2013-evolution-554de99b229180451331f81adc3f6195bf525878.tar.lz gsoc2013-evolution-554de99b229180451331f81adc3f6195bf525878.tar.xz gsoc2013-evolution-554de99b229180451331f81adc3f6195bf525878.tar.zst gsoc2013-evolution-554de99b229180451331f81adc3f6195bf525878.zip |
Not quite finished but checking in for some local frobbing.
2001-03-29 Not Zed <NotZed@Ximian.com>
* providers/smtp/camel-smtp-transport.c (smtp_connect): Free host
name info when done ... blah blah.
* camel-sasl-kerberos4.c (krb4_challenge): Free host name info
after we're done with it.
* camel-sasl-digest-md5.c (digest_md5_challenge): Free host name
info after we're done with it.
* camel-remote-store.c (remote_connect): Free the host name info
from get_host after we're finished with it.
* camel-service.c (camel_get_host_byname): New function to
lookup a name, and still be cancellable.
(camel_free_host): And a function to free the structure
returned.
(camel_service_gethost): Call get_host_byname for this.
svn path=/trunk/; revision=9033
Diffstat (limited to 'camel/camel-sasl-kerberos4.c')
-rw-r--r-- | camel/camel-sasl-kerberos4.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/camel/camel-sasl-kerberos4.c b/camel/camel-sasl-kerberos4.c index 2f92f1d2a4..1698ffe870 100644 --- a/camel/camel-sasl-kerberos4.c +++ b/camel/camel-sasl-kerberos4.c @@ -146,6 +146,7 @@ krb4_challenge (CamelSasl *sasl, GByteArray *token, CamelException *ex) inst = g_strndup (h->h_name, strcspn (h->h_name, ".")); g_strdown (inst); realm = g_strdup (krb_realmofhost (h->h_name)); + camel_free_host(h); status = krb_mk_req (&authenticator, sasl->service_name, inst, realm, priv->nonce_h); if (status == KSUCCESS) { status = krb_get_cred (sasl->service_name, inst, realm, &credentials); |