Blame SOURCES/polkit-0.115-jsauthority-memleak.patch

22c237
commit 28e3a6653d8c3777b07e0128a0d97d46e586e311
22c237
Author: Jan Rybar <jrybar@redhat.com>
22c237
Date:   Tue Oct 8 13:28:18 2019 +0000
22c237
22c237
    jsauthority: Fix two minor memory leaks
22c237
22c237
diff --git a/src/polkitbackend/polkitbackendjsauthority.cpp b/src/polkitbackend/polkitbackendjsauthority.cpp
22c237
index 9b752d1..e97b8aa 100644
22c237
--- a/src/polkitbackend/polkitbackendjsauthority.cpp
22c237
+++ b/src/polkitbackend/polkitbackendjsauthority.cpp
22c237
@@ -567,6 +567,8 @@ polkit_backend_js_authority_finalize (GObject *object)
22c237
   g_strfreev (authority->priv->rules_dirs);
22c237
 
22c237
   delete authority->priv->ac;
22c237
+  delete authority->priv->js_global;
22c237
+  delete authority->priv->js_polkit;
22c237
 
22c237
   JS_DestroyContext (authority->priv->cx);
22c237
   /* JS_ShutDown (); */