1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

r17996: Don't talloc free the memory then reference it. Doh !

Jeremy.
(This used to be commit 188eb9794d)
This commit is contained in:
Jeremy Allison 2006-09-02 01:34:37 +00:00 committed by Gerald (Jerry) Carter
parent fc6bce6d9c
commit ef92f91cd7

View File

@ -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