r16571 by jghali - #9922: crashes on jpeg file import with "Exception Access Violation" error
scribus-commit
scribus-commit at lists.scribus.net
Mon Apr 11 23:24:01 CEST 2011
Author: jghali
Date: Mon Apr 11 21:24:01 2011
New Revision: 16571
URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=16571
Log:
#9922: crashes on jpeg file import with "Exception Access Violation" error
Modified:
branches/Version135/Scribus/scribus/colormgmt/sclcmscolormgmtengineimpl.cpp
Modified: branches/Version135/Scribus/scribus/colormgmt/sclcmscolormgmtengineimpl.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=16571&path=/branches/Version135/Scribus/scribus/colormgmt/sclcmscolormgmtengineimpl.cpp
==============================================================================
--- branches/Version135/Scribus/scribus/colormgmt/sclcmscolormgmtengineimpl.cpp (original)
+++ branches/Version135/Scribus/scribus/colormgmt/sclcmscolormgmtengineimpl.cpp Mon Apr 11 21:24:01 2011
@@ -330,8 +330,9 @@
catch (lcmsException& e)
{
std::cerr << e.what() << std::endl;
- if (transform.isNull() && hTransform)
- cmsDeleteTransform(hTransform);
+ // #9922 : no idea why that crash in release mode
+ /*if (transform.isNull() && hTransform)
+ cmsDeleteTransform(hTransform);*/
transform = ScColorTransform();
}
cmsSetErrorHandler(NULL);
@@ -399,8 +400,9 @@
catch (lcmsException& e)
{
std::cerr << e.what() << std::endl;
- if (transform.isNull() && hTransform)
- cmsDeleteTransform(hTransform);
+ // #9922 : no idea why that crash in release mode
+ /*if (transform.isNull() && hTransform)
+ cmsDeleteTransform(hTransform);*/
transform = ScColorTransform();
}
cmsSetErrorHandler(NULL);
@@ -445,8 +447,9 @@
catch (lcmsException& e)
{
std::cerr << e.what() << std::endl;
- if (transform.isNull() && hTransform)
- cmsDeleteTransform(hTransform);
+ // #9922 : no idea why that crash in release mode
+ /*if (transform.isNull() && hTransform)
+ cmsDeleteTransform(hTransform);*/
transform = ScColorTransform();
}
cmsSetErrorHandler(NULL);
More information about the scribus-commit
mailing list