Commit 2f8be9e8 authored by Christian Hergert's avatar Christian Hergert

lua: avoid GDestroyNotify in g_clear_pointer()

parent 029e7431
......@@ -364,7 +364,7 @@ peas_plugin_loader_lua_finalize (GObject *object)
priv->lgi_enter_func (priv->lgi_lock);
peas_lua_internal_shutdown (priv->L);
g_clear_pointer (&priv->L, (GDestroyNotify) lua_close);
g_clear_pointer (&priv->L, lua_close);
G_OBJECT_CLASS (peas_plugin_loader_lua_parent_class)->finalize (object);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment