[Xfce4-commits] [apps/ristretto] 01/01: Fix memory leak in the "Clear private data" dialog

noreply at xfce.org noreply at xfce.org
Thu Apr 11 21:01:38 CEST 2019


This is an automated email from the git hooks/post-receive script.

f   2   4   0   4       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/ristretto.

commit 09330259e6f945558ba6722f5ea8954cf1de7baf
Author: Igor <f2404 at yandex.ru>
Date:   Thu Apr 11 15:01:14 2019 -0400

    Fix memory leak in the "Clear private data" dialog
---
 src/privacy_dialog.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/privacy_dialog.c b/src/privacy_dialog.c
index 7b1fec6..f936ddc 100644
--- a/src/privacy_dialog.c
+++ b/src/privacy_dialog.c
@@ -298,6 +298,12 @@ rstto_privacy_dialog_dispose (GObject *object)
             dialog->priv->settings = NULL;
         }
 
+        if (dialog->priv->filters)
+        {
+            g_slist_free (dialog->priv->filters);
+            dialog->priv->filters = NULL;
+        }
+
         g_free (dialog->priv);
         dialog->priv = NULL;
     }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list