Fix a crash caused by a mistaken attempt at plugging a leak
This commit is contained in:
parent
06d9e2d026
commit
ade0f16053
1 changed files with 3 additions and 2 deletions
|
@ -783,8 +783,9 @@ webkit_web_view_load_finished_cb (WebKitWebView* web_view,
|
|||
g_strfreev (parts);
|
||||
}
|
||||
g_strfreev (items);
|
||||
g_object_set_data_full (G_OBJECT (view), "news-feeds",
|
||||
value && *value ? (void*)1 : (void*)0, g_free);
|
||||
g_object_set_data (G_OBJECT (view), "news-feeds",
|
||||
value && *value ? (void*)1 : (void*)0);
|
||||
g_free (value);
|
||||
/* Ensure load-status is notified again, whether it changed or not */
|
||||
g_object_notify (G_OBJECT (view), "load-status");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue