[Digikam-devel] [Bug 254679] Crash when closign digikam while filter active

Gilles Caulier caulier.gilles at gmail.com
Wed Oct 20 10:45:59 BST 2010


https://bugs.kde.org/show_bug.cgi?id=254679





--- Comment #4 from Gilles Caulier <caulier gilles gmail com>  2010-10-20 11:45:59 ---
MArcel,

I tried this patch :

    for (int c = 0; c < 3; c++)
    {
        if (d->fimg[c])
            delete [] d->fimg[c];
    }

    if (d->buffer[1])
        delete [] d->buffer[1];

    if (d->buffer[2])
        delete [] d->buffer[2];

...set at end of filterImage() NRFilter::method. It crash

I moved this memory allocation code to destructor, just before to delete
internal container : it crash.

Gilles Caulier

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list