[Digikam-devel] Re: memory leak in trunk...
caulier.gilles at gmail.com
Wed Dec 1 10:50:27 GMT 2010
I agree with you.
What do you see in your computer with valgrind ? the same size ?
2010/12/1 Marcel Wiesweg <marcel.wiesweg at gmx.de>:
>> ==14101== 1,390,426 (20 direct, 1,390,406 indirect) bytes in 1 blocks
>> are definitely lost in loss record 6,807 of 6,808
>> ==14101== at 0x40244F0: operator new(unsigned int)
>> (vg_replace_malloc.c:214) ==14101== by 0x820FFB9:
>> edView*) (digikamimagedelegate.cpp:62)
> I dont understand that. "1 block" means that this is one single allocation,
> doesnt it? The size of ImageCategoryDrawer, one d-pointer in
> ImageCategoryDrawer, one d-pointer in KCategoryDrawer, should be
> 2*sizeof(void*), 16 bytes, not 1.3MB!
> And there is not more than one such object per digikam application, only the
> main icon view uses it.
> Digikam-devel mailing list
> Digikam-devel at kde.org
More information about the Digikam-devel