1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

Tiny memory leak

(This used to be commit e7f76a0c65)
This commit is contained in:
Marc VanHeyningen 2008-05-29 10:00:46 -07:00 committed by Jeremy Allison
parent 433a05c1ab
commit ad00ecd358

View File

@ -64,6 +64,8 @@ ADS_STATUS ads_guess_service_principal(ADS_STRUCT *ads,
server_realm = SMB_STRDUP(ads->server.realm);
if (!server || !server_realm) {
SAFE_FREE(server);
SAFE_FREE(server_realm);
return ADS_ERROR(LDAP_NO_MEMORY);
}