Commit 28e3a665 authored by Jan Rybar's avatar Jan Rybar
Browse files

jsauthority: Fix two minor memory leaks

parent 14422ab6
......@@ -567,6 +567,8 @@ polkit_backend_js_authority_finalize (GObject *object)
g_strfreev (authority->priv->rules_dirs);
delete authority->priv->ac;
delete authority->priv->js_global;
delete authority->priv->js_polkit;
JS_DestroyContext (authority->priv->cx);
/* JS_ShutDown (); */
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