1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

r5421: Fix a memleak

(This used to be commit a7df3b5f06)
This commit is contained in:
Volker Lendecke 2005-02-16 21:31:40 +00:00 committed by Gerald (Jerry) Carter
parent 96edc93c23
commit bc10e4067a

View File

@ -1152,9 +1152,11 @@ DOM_SID *local_uid_to_sid(DOM_SID *psid, uid_t uid)
DEBUG(4,("local_uid_to_sid: User %s [uid == %lu] has no samba account\n",
unix_pw->pw_name, (unsigned long)uid));
return algorithmic_uid_to_sid( psid, uid);
algorithmic_uid_to_sid( psid, uid);
}
pdb_free_sam(&sampw);
DEBUG(10,("local_uid_to_sid: uid (%d) -> SID %s (%s).\n",
(unsigned int)uid, sid_string_static(psid), unix_pw->pw_name));