RESOLVED FIXED Bug 131983
[GTK] Crash after getting web view context property with g_object_get
https://bugs.webkit.org/show_bug.cgi?id=131983
Summary [GTK] Crash after getting web view context property with g_object_get
Carlos Garcia Campos
Reported 2014-04-22 05:07:17 PDT
The problem is that the getter is using g_value_take_object() and the default context is destroyed when the caller releases its ref. We should use g_value_set_object instead.
Attachments
Patch (1.44 KB, patch)
2014-04-22 05:09 PDT, Carlos Garcia Campos
pnormand: review+
Carlos Garcia Campos
Comment 1 2014-04-22 05:09:12 PDT
WebKit Commit Bot
Comment 2 2014-04-22 05:10:51 PDT
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
Carlos Garcia Campos
Comment 3 2014-04-22 06:36:55 PDT
Note You need to log in before you can comment on or make changes to this bug.