mirror of
https://github.com/samba-team/samba.git
synced 2025-03-12 20:58:37 +03:00
r2351: Fix use of an uninitialized variable. valgrind is sooo useful.
Volker (This used to be commit 11f617eafd5512dab89bc363662f8e6953c359d4)
This commit is contained in:
parent
fe69a5e28d
commit
3a1d169864
@ -609,7 +609,6 @@ static void wcache_save_name_to_sid(struct winbindd_domain *domain,
|
||||
{
|
||||
struct cache_entry *centry;
|
||||
fstring uname;
|
||||
fstring sid_string;
|
||||
|
||||
centry = centry_start(domain, status);
|
||||
if (!centry)
|
||||
@ -619,7 +618,8 @@ static void wcache_save_name_to_sid(struct winbindd_domain *domain,
|
||||
fstrcpy(uname, name);
|
||||
strupper_m(uname);
|
||||
centry_end(centry, "NS/%s/%s", domain_name, uname);
|
||||
DEBUG(10,("wcache_save_name_to_sid: %s -> %s\n", uname, sid_string));
|
||||
DEBUG(10,("wcache_save_name_to_sid: %s -> %s\n", uname,
|
||||
sid_string_static(sid)));
|
||||
centry_free(centry);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user