SymSpellPlusPlus icon indicating copy to clipboard operation
SymSpellPlusPlus copied to clipboard

inconsistent strdup and delete[]

Open haase opened this issue 7 years ago • 0 comments

When running under ASAN I get a complaint that strings allocated by strdup() are being freed by delete[] which is apparently a no-no. I don't know enough about C++ object reclamation to fix it myself. Most of the recommendations on the interwebs seem to be to use C++ string types rather than character arrays, but I imagine that could lead to a performance hit.

haase avatar Dec 09 '18 22:12 haase