diff options
author | Jan Rybar <jrybar@redhat.com> | 2019-10-08 13:28:18 +0000 |
---|---|---|
committer | Jan Rybar <jrybar@redhat.com> | 2019-10-08 13:28:18 +0000 |
commit | b806f0c0dd715b860b99d0851505408b482eff05 (patch) | |
tree | 9512faf59ad6b8c8d71e77f8b315ba3f2fa57e5a | |
parent | 14422ab6f9288eba7c98b95323ea42da433861ac (diff) | |
parent | 28e3a6653d8c3777b07e0128a0d97d46e586e311 (diff) | |
download | polkit-b806f0c0dd715b860b99d0851505408b482eff05.tar.gz |
Merge branch 'kalev/polkit-jsauthority-memleak' into 'master'
jsauthority: Fix two minor memory leaks
See merge request polkit/polkit!42
-rw-r--r-- | src/polkitbackend/polkitbackendjsauthority.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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 (); */ |