git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66c9680
)
s3: Fix Coverity ID 2330: RESOURCE_LEAK
author
Volker Lendecke
<vl@samba.org>
Sun, 27 Mar 2011 08:59:57 +0000
(10:59 +0200)
committer
Volker Lendecke
<vl@samba.org>
Sun, 27 Mar 2011 09:25:33 +0000
(11:25 +0200)
source3/smbd/posix_acls.c
patch
|
blob
|
history
diff --git
a/source3/smbd/posix_acls.c
b/source3/smbd/posix_acls.c
index 5faf26f8b09816efdaf70f69e79b587c8b1ce601..eb4525a3852d80cc7150990501d031a6706348ee 100644
(file)
--- a/
source3/smbd/posix_acls.c
+++ b/
source3/smbd/posix_acls.c
@@
-520,6
+520,7
@@
static const char *create_pai_v2_entries(struct pai_val *paiv,
paie->ace_flags = CVAL(entry_offset,0);
if (!get_pai_owner_type(paie, entry_offset+1)) {
+ SAFE_FREE(paie);
return NULL;
}
if (!def_entry) {