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

Fix a memleak in secrets_fetch_trust_account_password_legacy

Coverity ID 571
This commit is contained in:
Volker Lendecke 2008-06-07 08:50:02 +02:00
parent 2663c81a78
commit a551773e34

View File

@ -399,6 +399,7 @@ bool secrets_fetch_trust_account_password_legacy(const char *domain,
if (size != sizeof(*pass)) {
DEBUG(0, ("secrets were of incorrect size!\n"));
SAFE_FREE(pass);
return False;
}