[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#5827) Syncprov persistent operations info leaking



hyc@symas.com wrote:
> ando@sys-net.it wrote:
>> Full_Name: Pierangelo Masarati
>> Version:
>> OS:
>> URL: ftp://ftp.openldap.org/incoming/
>> Submission from: (NULL) (81.72.89.40)
>> Submitted by: ando
>>
>>
>> After heavily loading a MMR pool, valgrind finds the following:
>>
>> ==29650== 2,437 (240 direct, 2,197 indirect) bytes in 3 blocks are definitely
>> lo
>> st in loss record 13 of 15
> 
> Most likely because we increment s_inuse at line 1250, at the beginning of a 
> non-Delete write op, and don't decrement it at the end of the op. I think this 
> should be simple to fix, will take a look.

Seems to work.  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
-----------------------------------