Kaydet (Commit) cde15afd authored tarafından Caolán McNamara's avatar Caolán McNamara

free hyphenators in dtor

üst ab826b14
...@@ -103,7 +103,11 @@ Hyphenator::~Hyphenator() ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment