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
(from parent 1:
0076045
)
Fix bug #5083 (and duplicate bug #5084).
author
Michael Adam
<obnox@samba.org>
Thu, 15 Nov 2007 10:08:53 +0000
(11:08 +0100)
committer
Michael Adam
<obnox@samba.org>
Thu, 15 Nov 2007 10:08:53 +0000
(11:08 +0100)
Make solarisacl_sys_acl_get_fd() return a result
when there is one (thereby fixing a memleak).
Thanks to Markus Zell for reporting this.
Michael
source/modules/vfs_solarisacl.c
patch
|
blob
|
history
diff --git
a/source/modules/vfs_solarisacl.c
b/source/modules/vfs_solarisacl.c
index b29c218ff4265e5dd44efac8edf6bdf0aebd7522..673b6805afb5c7fa0fd7023b5870ecd94b4c12f2 100644
(file)
--- a/
source/modules/vfs_solarisacl.c
+++ b/
source/modules/vfs_solarisacl.c
@@
-128,7
+128,7
@@
SMB_ACL_T solarisacl_sys_acl_get_fd(vfs_handle_struct *handle,
DEBUG(10, ("solarisacl_sys_acl_get_fd %s.\n",
((result == NULL) ? "failed" : "succeeded")));
SAFE_FREE(solaris_acl);
- return
NULL
;
+ return
result
;
}
int solarisacl_sys_acl_set_file(vfs_handle_struct *handle,