https://bugs.documentfoundation.org/show_bug.cgi?id=111634

--- Comment #13 from Alex Thurgood <ipla...@tuta.io> ---
The biggest seems to be :

Malloc 16 Bytes 328067  < multiple >    5,01 MiB        libmacabdrv1.dylib     
connectivity::macab::MacabRecord::copy(int) const


macabfield *MacabRecord::copy(const sal_Int32 i) const
{
    /* Note: copy(i) creates a new macabfield identical to that at
     * location i, whereas get(i) returns a pointer to the macabfield
     * at location i.
     */
    if(i < size)
    {
        macabfield *_copy = new macabfield;
        _copy->type = fields[i]->type;
        _copy->value = fields[i]->value;
        if (_copy->value)
            CFRetain(_copy->value);
        return _copy;
    }

    return nullptr;
}


This gets invoked 360,000 times in all in just the short sequence of usage
described originally.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to