summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/gtk/webkit/webkitwebplugindatabase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/gtk/webkit/webkitwebplugindatabase.cpp')
-rw-r--r--Source/WebKit/gtk/webkit/webkitwebplugindatabase.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/WebKit/gtk/webkit/webkitwebplugindatabase.cpp b/Source/WebKit/gtk/webkit/webkitwebplugindatabase.cpp
index 2d36115..1ed5205 100644
--- a/Source/WebKit/gtk/webkit/webkitwebplugindatabase.cpp
+++ b/Source/WebKit/gtk/webkit/webkitwebplugindatabase.cpp
@@ -74,7 +74,8 @@ static void webkit_web_plugin_database_init(WebKitWebPluginDatabase* database)
*/
void webkit_web_plugin_database_plugins_list_free(GSList* list)
{
- g_return_if_fail(list);
+ if (!list)
+ return;
for (GSList* p = list; p; p = p->next)
g_object_unref(p->data);