aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ephy-seed-extension.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ephy-seed-extension.c b/src/ephy-seed-extension.c
index 7fd444d45..95658fd2d 100644
--- a/src/ephy-seed-extension.c
+++ b/src/ephy-seed-extension.c
@@ -190,6 +190,7 @@ ephy_seed_extension_constructor (GType type,
ext->priv->obj = seed_evaluate (global_eng->context,
script,
NULL);
+ seed_value_protect (ext->priv->ctx, ext->priv->obj);
if (seed_script_exception (script))
g_warning ("seed_exception: %s",