PolicyKit: Branch 'master' - 2 commits
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Oct 8 13:28:20 UTC 2019
src/polkitbackend/polkitbackendjsauthority.cpp | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit b806f0c0dd715b860b99d0851505408b482eff05
Merge: 14422ab 28e3a66
Author: Jan Rybar <jrybar at redhat.com>
Date: Tue Oct 8 13:28:18 2019 +0000
Merge branch 'kalev/polkit-jsauthority-memleak' into 'master'
jsauthority: Fix two minor memory leaks
See merge request polkit/polkit!42
commit 28e3a6653d8c3777b07e0128a0d97d46e586e311
Author: Jan Rybar <jrybar at redhat.com>
Date: Tue Oct 8 13:28:18 2019 +0000
jsauthority: Fix two minor memory leaks
diff --git a/src/polkitbackend/polkitbackendjsauthority.cpp b/src/polkitbackend/polkitbackendjsauthority.cpp
index 9b752d1..e97b8aa 100644
--- a/src/polkitbackend/polkitbackendjsauthority.cpp
+++ b/src/polkitbackend/polkitbackendjsauthority.cpp
@@ -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 (); */
More information about the hal-commit
mailing list