Solving issue 2324: "Crash when creating detail window" / Credits: Ingo, Hombre

This commit is contained in:
natureh.510
2014-04-03 23:15:48 +02:00
parent d79d3c3f7a
commit 2b873eb0d4
5 changed files with 12 additions and 6 deletions

View File

@@ -45,7 +45,8 @@ CropHandler::~CropHandler () {
setEnabled (false);
if (crop) {
crop->destroy ();
//crop->destroy ();
delete crop; // will do the same than destroy, plus delete the object
crop = NULL;
}
cimg.lock ();