On Sun, 15 Nov 2009 11:47:28 -0500
Jim Wilcoxson pri...@gmail.com wrote:
I've been working on a new backup program, HashBackup, and believe I
have found a memory leak with ACLs in PCBSD/FreeBSD 7.1 and OSX
(Leopard).
acl_from_text is a function that takes a text string as input, and
On 01/-10/63 20:59, Jim Wilcoxson wrote:
I've been working on a new backup program, HashBackup, and believe I
have found a memory leak with ACLs in PCBSD/FreeBSD 7.1 and OSX
(Leopard).
acl_from_text is a function that takes a text string as input, and
returns a pointer to a malloc'd acl.
On Mon, 16 Nov 2009 21:12:47 +0100
vol...@vwsoft.com wrote:
you may want to have a look at the manpage acl_from_text(3):
...This function may cause memory to be allocated. The caller should
free any releasable memory, when the new ACL is no longer required, by
calling acl_free(3) with the
The man page is correct and should not be changed.
In the example program I submitted, it does call acl_free; this is not
where the leak occurs. The leak occurs because of a temporary string
that acl_from_text allocates to parse the text.
Jim
On 11/16/09, Gary Jennejohn
On 11/16/09 22:21, Jim Wilcoxson wrote:
The man page is correct and should not be changed.
In the example program I submitted, it does call acl_free; this is not
where the leak occurs. The leak occurs because of a temporary string
that acl_from_text allocates to parse the text.
Jim
On
I've been working on a new backup program, HashBackup, and believe I
have found a memory leak with ACLs in PCBSD/FreeBSD 7.1 and OSX
(Leopard).
acl_from_text is a function that takes a text string as input, and
returns a pointer to a malloc'd acl. This acl is then freed with
acl_free. I noticed
6 matches
Mail list logo