Bug 1954 - Memory leak in posix_acls.c
Memory leak in posix_acls.c
Status: CLOSED FIXED
Product: Samba 3.0
Classification: Unclassified
Component: File Services
3.0.7
All Windows XP
: P3 normal
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-10-21 06:55 UTC by Tom Lackemann
Modified: 2005-08-24 10:18 UTC (History)
0 users

See Also:


Attachments
Proposed fix for acl handle leak (1.21 KB, patch)
2004-10-21 06:56 UTC, Tom Lackemann
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Lackemann 2004-10-21 06:55:33 UTC
The routine get_acl_group_bits() in posix_acls.c obtains an acl handle via 
SMB_VFS_SYS_ACL_GET_FILE but fails to free it. I have a patch that I will 
attach.
Comment 1 Tom Lackemann 2004-10-21 06:56:24 UTC
Created attachment 738 [details]
Proposed fix for acl handle leak
Comment 2 Jeremy Allison 2004-10-21 10:22:02 UTC
Applied - thanks !
Jeremy.
Comment 3 Gerald (Jerry) Carter 2005-08-24 10:18:34 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.