diff --git a/macmouseover.mm b/macmouseover.mm index 18586814..bc873334 100644 --- a/macmouseover.mm +++ b/macmouseover.mm @@ -85,7 +85,7 @@ QString MacMouseOver::CFStringRefToQString( CFStringRef str ) QString result = QString::fromUtf16( chars, length ); - delete chars; + delete[] chars; return result; }