Fix memory leek in ldb_ldif_write()

Kamen Mazdrashki kamen.mazdrashki at postpath.com
Sat Dec 5 14:34:24 MST 2009


On Sat, Dec 5, 2009 at 23:35, Volker Lendecke <Volker.Lendecke at sernet.de> wrote:
> On Sat, Dec 05, 2009 at 10:53:43PM +0200, Kamen Mazdrashki wrote:
>> It seems you are the ‘owner’ of ldb_ldif_write().
>> Please find attached a small patch to fix a memory leek.
>
> There's more of those. CHECK_RET can return, leaving
> mem_ctx around.

Perhaps it is that way...
It is just this one I have found while playing with Valgrind
(I am trying to learn more about this tool as you have advised :)

CU,
Kamen Mazdrashki
kamen.mazdrashki at postpath.com
http://repo.or.cz/w/Samba/kamenim.git
-------------------------------------
CISCO SYSTEMS BULGARIA EOOD
http://www.cisco.com/global/BG/



More information about the samba-technical mailing list