mirror of
https://github.com/samba-team/samba.git
synced 2025-03-27 22:50:26 +03:00
s3: Fix Coverity ID 2217: RESOURCE_LEAK
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Mar 30 10:45:44 CEST 2011 on sn-devel-104
This commit is contained in:
parent
40306f2247
commit
0fea80c1d6
@ -768,8 +768,8 @@ wbcErr wbcGetDisplayName(const struct wbcDomainSid *sid,
|
||||
wbcFreeMemory(name);
|
||||
|
||||
name = wbcStrDup(pwd->pw_gecos);
|
||||
BAIL_ON_PTR_ERROR(name, wbc_status);
|
||||
wbcFreeMemory(pwd);
|
||||
BAIL_ON_PTR_ERROR(name, wbc_status);
|
||||
}
|
||||
|
||||
wbc_status = WBC_ERR_SUCCESS;
|
||||
|
Loading…
x
Reference in New Issue
Block a user