[Webkit-unassigned] [Bug 61915] [EFL][WK2] Add efl port's ewk_view files

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 10 01:32:21 PDT 2011


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





--- Comment #23 from EunMi Lee <eunmi15.lee at samsung.com>  2011-06-10 01:32:21 PST ---
(In reply to comment #22)
> Created an attachment (id=96712)
 --> (https://bugs.webkit.org/attachment.cgi?id=96712&action=review) [details]
> Patch

I removed free(sd) code from _ewk_view_smart_del() as follows:
 static void _ewk_view_smart_del(Evas_Object* o)
 {
     EWK_VIEW_SD_GET(o, sd);
-    if (sd) {
-        if (sd->priv)
-            _ewk_view_priv_del(sd->priv);
-        evas_object_smart_data_set(o, 0);
-        free(sd);
-    }
+    if (sd && sd->priv)
+        _ewk_view_priv_del(sd->priv);

     _parent_sc.del(o);
 }
Because sd will be freed in the _parent_sc.del(o).

-- 
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