Howard Chu wrote:
Pierangelo Masarati wrote:
Pierangelo Masarati wrote:
==30484== 1,371 bytes in 43 blocks are definitely lost in loss record 12 of 13 ==30484== at 0x40053C0: malloc (vg_replace_malloc.c:149) ==30484== by 0x8258EFB: ber_memalloc_x (memory.c:226) ==30484== by 0x80A743C: ch_malloc (ch_malloc.c:54) ==30484== by 0x81747E5: bdb_entry_get (id2entry.c:421)
^^^ well, apparently bdb_entry_get() is malloc'ing a bdb_lock_info that's attached to op_extra, but nobody frees it.
Probably a consequence of the uninitialized bli_flag you detected with valgrind. I.e., should also now be fixed in HEAD.
Yes, this leak does no longer show up. Thanks, p.
Ing. Pierangelo Masarati OpenLDAP Core Team
SysNet s.r.l. via Dossi, 8 - 27100 Pavia - ITALIA http://www.sys-net.it ----------------------------------- Office: +39 02 23998309 Mobile: +39 333 4963172 Fax: +39 0382 476497 Email: ando@sys-net.it -----------------------------------