Bug 694002 - Properly initialize things to fix crash in AffixMgr::~AffixMgr. r=smaug

This commit is contained in:
Ehsan Akhgari 2011-12-27 13:53:57 -08:00
parent 78d0f2c7ca
commit 51045e53db
2 changed files with 4 additions and 2 deletions

View File

@ -36,7 +36,7 @@
******* END LICENSE BLOCK *******
Hunspell Version: 1.3.2
Additional Patches: Bug 710967
Additional Patches: 694002, 710967
Hunspell Author: László Németh
MySpell Author: Kevin Hendricks & David Einstein

View File

@ -467,7 +467,9 @@ SfxEntry::SfxEntry(AffixMgr * pmgr, affentry* dp)
memcpy(c.l.conds1, dp->c.l.conds1, MAXCONDLEN_1);
c.l.conds2 = dp->c.l.conds2;
} else memcpy(c.conds, dp->c.conds, MAXCONDLEN);
next = NULL;
nextne = NULL;
nexteq = NULL;
rappnd = myrevstrdup(appnd);
morphcode = dp->morphcode;
contclass = dp->contclass;