mirror of
https://github.com/samba-team/samba.git
synced 2025-03-29 02:50:28 +03:00
s3: Fix Coverity ID 2221: RESOURCE_LEAK
This commit is contained in:
parent
9a97a8307c
commit
a56eb9b887
@ -187,6 +187,8 @@ static bool wbinfo_get_userinfo(char *user)
|
||||
pwd->pw_dir,
|
||||
pwd->pw_shell);
|
||||
|
||||
wbcFreeMemory(pwd);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user