r14335 by jghali - #8595: crash when freeing non-existent hyphenator
scribus-commit
scribus-commit at lists.scribus.net
Mon Nov 23 21:55:35 CET 2009
Revision: 14335
Author: jghali
Date: 2009-11-23T11:50:35.434654Z
Commit message: #8595: crash when freeing non-existent hyphenator
Changeset:
M /branches/Version133x/Scribus/scribus/hyphenator.cpp
Diffs:
Index: scribus/hyphenator.cpp
===================================================================
--- scribus/hyphenator.cpp (revision 14334)
+++ scribus/hyphenator.cpp (revision 14335)
@@ -80,7 +80,8 @@
Hyphenator::~Hyphenator()
{
- hnj_hyphen_free(hdict);
+ if (hdict)
+ hnj_hyphen_free(hdict);
}
void Hyphenator::slotNewDict(QString name)
More information about the scribus-commit
mailing list