[Digikam-devel] [digikam] [Bug 318873] digiKam crashes when clicking on image in thumbnails
simon.j.munton at gmail.com
simon.j.munton at gmail.com
Fri Apr 26 07:25:05 BST 2013
https://bugs.kde.org/show_bug.cgi?id=318873
--- Comment #3 from simon.j.munton at gmail.com ---
Created attachment 79453
--> https://bugs.kde.org/attachment.cgi?id=79453&action=edit
Patch to detach image data before replacing the image data in rotate function
Attached patch adds the call to detach just before the old data is deleted.
This is not the most efficient way, as the image data is copied (if necessary)
in the detach function, and then immediately discarded after the return from
detach.
There is also the chance that between the call to detach and the data being
replaced that another thread could make a copy of the Dimg and have a pointer
to the deleted data .
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Digikam-devel
mailing list