[Xfce4-commits] [xfce/xfce4-settings] 11/18: display: Fix memory leaks

noreply at xfce.org noreply at xfce.org
Thu Apr 4 23:03:09 CEST 2019


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

o   c   h   o   s   i       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 xfce/xfce4-settings.

commit e04351ba3d758fd6c900a93d7805700d51f72d5a
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Sun Mar 31 23:36:52 2019 +0200

    display: Fix memory leaks
---
 common/display-profiles.c             | 1 +
 dialogs/display-settings/scrollarea.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/common/display-profiles.c b/common/display-profiles.c
index f5ba676..23663cb 100644
--- a/common/display-profiles.c
+++ b/common/display-profiles.c
@@ -66,6 +66,7 @@ display_settings_profile_name_exists (XfconfChannel *channel, const gchar *new_p
 
         current = g_list_next (current);
     }
+    g_hash_table_destroy (properties);
     return TRUE;
 }
 
diff --git a/dialogs/display-settings/scrollarea.c b/dialogs/display-settings/scrollarea.c
index b698bcd..9c57bce 100644
--- a/dialogs/display-settings/scrollarea.c
+++ b/dialogs/display-settings/scrollarea.c
@@ -174,6 +174,7 @@ foo_scroll_area_finalize (GObject *object)
     g_object_unref (scroll_area->priv->vadj);
 
     g_ptr_array_free (scroll_area->priv->input_regions, TRUE);
+    gdk_region_destroy (scroll_area->priv->update_region);
 
     g_free (scroll_area->priv);
 

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


More information about the Xfce4-commits mailing list