free hyphenators in dtor
This commit is contained in:
parent
ab826b1417
commit
cde15afdde
1 changed files with 4 additions and 0 deletions
|
@ -103,7 +103,11 @@ Hyphenator::~Hyphenator()
|
||||||
if (numdict && aDicts)
|
if (numdict && aDicts)
|
||||||
{
|
{
|
||||||
for (int i=0; i < numdict; ++i)
|
for (int i=0; i < numdict; ++i)
|
||||||
|
{
|
||||||
delete aDicts[i].apCC;
|
delete aDicts[i].apCC;
|
||||||
|
if (aDicts[i].aPtr)
|
||||||
|
hnj_hyphen_free(aDicts[i].aPtr);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
delete[] aDicts;
|
delete[] aDicts;
|
||||||
|
|
Loading…
Reference in a new issue