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.
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/