RESOLVED FIXED 117828
[EFL][WK2] Update text checker documentation
https://bugs.webkit.org/show_bug.cgi?id=117828
Summary [EFL][WK2] Update text checker documentation
Grzegorz Czajkowski
Reported 2013-06-20 05:35:04 PDT
eina_list_free() needs to be to called to free an entire spelling suggestions list. The data contained in the list are already freed.
Attachments
proposed patch (4.97 KB, patch)
2013-06-20 06:01 PDT, Grzegorz Czajkowski
cdumez: review-
cdumez: commit-queue-
just update the doc (1.53 KB, patch)
2013-06-20 06:57 PDT, Grzegorz Czajkowski
no flags
Grzegorz Czajkowski
Comment 1 2013-06-20 06:01:43 PDT
Created attachment 205079 [details] proposed patch
Chris Dumez
Comment 2 2013-06-20 06:27:28 PDT
Comment on attachment 205079 [details] proposed patch View in context: https://bugs.webkit.org/attachment.cgi?id=205079&action=review > Source/WebKit2/UIProcess/API/efl/tests/test_ewk2_text_checker.cpp:304 > + eina_list_free(loadedLanguages); I don't believe this is needed after EINA_LIST_FREE()... We probably just need to update the doc?
Ryuan Choi
Comment 3 2013-06-20 06:47:35 PDT
(In reply to comment #2) > (From update of attachment 205079 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=205079&action=review > > > Source/WebKit2/UIProcess/API/efl/tests/test_ewk2_text_checker.cpp:304 > > + eina_list_free(loadedLanguages); > > I don't believe this is needed after EINA_LIST_FREE()... We probably just need to update the doc? +1. EINA_LIST_FREE = eina_list_free() + chance to release data. http://docs.enlightenment.org/stable/eina/group__Eina__List__Group.html#ga608bd2fbf06293a1b794648990703ab4
Grzegorz Czajkowski
Comment 4 2013-06-20 06:57:56 PDT
Created attachment 205087 [details] just update the doc
Chris Dumez
Comment 5 2013-06-20 07:03:49 PDT
Comment on attachment 205087 [details] just update the doc View in context: https://bugs.webkit.org/attachment.cgi?id=205087&action=review LGTM. r=me. with nit. > Source/WebKit2/UIProcess/API/efl/ewk_text_checker.h:100 > + * a list and its items will be freed by WebKit. *the* list and its items...
Grzegorz Czajkowski
Comment 6 2013-06-20 07:12:17 PDT
Note You need to log in before you can comment on or make changes to this bug.