From 4cdaac02dc827879de35235ed6e69c386d584e8e Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 27 Mar 2011 11:00:36 +0200 Subject: s3: Fix Coverity ID 2329: RESOURCE_LEAK --- source3/smbd/posix_acls.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/smbd') diff --git a/source3/smbd/posix_acls.c b/source3/smbd/posix_acls.c index eb4525a385..ebdc644ef9 100644 --- a/source3/smbd/posix_acls.c +++ b/source3/smbd/posix_acls.c @@ -442,6 +442,7 @@ static const char *create_pai_v1_entries(struct pai_val *paiv, paie->ace_flags = SEC_ACE_FLAG_INHERITED_ACE; if (!get_pai_owner_type(paie, entry_offset)) { + SAFE_FREE(paie); return NULL; } -- cgit