[Webkit-unassigned] [Bug 55989] [GTK] Possible leaks after splitting TextCheckerClientEnchant.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 8 22:01:27 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=55989





--- Comment #4 from Ryuan Choi <ryuan.choi at samsung.com>  2011-03-08 22:01:27 PST ---
(In reply to comment #2)
> (From update of attachment 85121 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=85121&action=review
> 
> Thanks for fixing this.
> 
> > Source/WebKit/gtk/WebCoreSupport/TextCheckerClientEnchant.cpp:81
> > +    int utflen = g_utf8_strlen(ctext.get(), -1);
> 
> Please change ctext to utf8Text and utflen to utf8Length. I know that you didn't add this code, but utflen makes no sense at all. :)

I changed as you mentioned.
Additionally I fixed some coding style and removed remained g_free.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list