git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc6bce6
)
r17996: Don't talloc free the memory then reference it. Doh !
author
Jeremy Allison
<jra@samba.org>
Sat, 2 Sep 2006 01:34:37 +0000
(
01:34
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 16:39:45 +0000
(11:39 -0500)
Jeremy.
(This used to be commit
188eb9794df265e8a55602d46b6bb4bd7daffa7f
)
source3/libads/kerberos.c
patch
|
blob
|
history
diff --git
a/source3/libads/kerberos.c
b/source3/libads/kerberos.c
index 80bc5a66617c991112a38377f765ca9af9295d02..4ddbf0abc5aa227864faf2a000938fb5e130aa45 100644
(file)
--- a/
source3/libads/kerberos.c
+++ b/
source3/libads/kerberos.c
@@
-559,14
+559,15
@@
BOOL create_local_private_krb5_conf_for_domain(const char *realm, const char *do
TALLOC_FREE(dname);
return False;
}
- /* Set the environment variable to this file. */
- setenv("KRB5_CONFIG", fname, 1);
- TALLOC_FREE(dname);
DEBUG(5,("create_local_private_krb5_conf_for_domain: wrote "
"file %s with realm %s KDC = %s\n",
fname, realm_upper, inet_ntoa(ip) ));
+ /* Set the environment variable to this file. */
+ setenv("KRB5_CONFIG", fname, 1);
+ TALLOC_FREE(dname);
+
return True;
}
#endif