The branch, v3-0-test has been updated
       via  1cdf89a02af6e7a2deed3f59519af97c10dbdaa3 (commit)
      from  3480b42be1adc7c2876a77e8260049447338c3ff (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-0-test


- Log -----------------------------------------------------------------
commit 1cdf89a02af6e7a2deed3f59519af97c10dbdaa3
Author: Michael Adam <[EMAIL PROTECTED]>
Date:   Thu Nov 15 11:08:53 2007 +0100

    Fix bug #5083 (and duplicate bug #5084).
    
    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

-----------------------------------------------------------------------

Summary of changes:
 source/modules/vfs_solarisacl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/modules/vfs_solarisacl.c b/source/modules/vfs_solarisacl.c
index b39ec44..8c28213 100644
--- a/source/modules/vfs_solarisacl.c
+++ b/source/modules/vfs_solarisacl.c
@@ -129,7 +129,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,


-- 
Samba Shared Repository

Reply via email to