[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: Possible memory leak (ITS#2586)
There is no leak. The dn is read in-place using the BER buffer, not copied to
malloc'd memory.
-- Howard Chu
Chief Architect, Symas Corp. Director, Highland Sun
http://www.symas.com http://highlandsun.com/hyc
Symas: Premier OpenSource Development and Support
> -----Original Message-----
> From: owner-openldap-bugs@OpenLDAP.org
> [mailto:owner-openldap-bugs@OpenLDAP.org]On Behalf Of
M.Sahalayev@pgr.salford.ac.uk
> Full_Name: Mikhail Sahalayev
> Version: HEAD
> OS: Linux
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (146.87.80.47)
>
>
> Hi,
>
> In slapd/add.c -> do_add() the dn is read from BER, then it
> gets normalized, but
> it's never freed.
> Might be a memory leak.
>
> Regards,
> Mikhail.
>