Commit b806f0c0 authored by Jan Rybar's avatar Jan Rybar
Browse files

Merge branch 'kalev/polkit-jsauthority-memleak' into 'master'

jsauthority: Fix two minor memory leaks

See merge request !42
parents 14422ab6 28e3a665
......@@ -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