Updating branch refs/heads/master
         to bd860803cf533fb6ddd67b8b993d671efcef8c89 (commit)
       from 4aadead7d102898e6e137855c691e4873664509d (commit)

commit bd860803cf533fb6ddd67b8b993d671efcef8c89
Author: Nick Schermer <n...@xfce.org>
Date:   Wed Apr 4 12:50:32 2012 +0200

    Free string in progress view.

 thunar/thunar-progress-view.c |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/thunar/thunar-progress-view.c b/thunar/thunar-progress-view.c
index 8d0f1e6..995f5d1 100644
--- a/thunar/thunar-progress-view.c
+++ b/thunar/thunar-progress-view.c
@@ -44,6 +44,7 @@ enum
 
 
 
+static void              thunar_progress_view_finalize     (GObject            
*object);
 static void              thunar_progress_view_dispose      (GObject            
*object);
 static void              thunar_progress_view_get_property (GObject            
*object,
                                                             guint              
 prop_id,
@@ -109,6 +110,7 @@ thunar_progress_view_class_init (ThunarProgressViewClass 
*klass)
   GObjectClass *gobject_class;
 
   gobject_class = G_OBJECT_CLASS (klass);
+  gobject_class->finalize = thunar_progress_view_finalize;
   gobject_class->dispose = thunar_progress_view_dispose;
   gobject_class->get_property = thunar_progress_view_get_property;
   gobject_class->set_property = thunar_progress_view_set_property;
@@ -227,6 +229,19 @@ thunar_progress_view_init (ThunarProgressView *view)
 
 
 static void
+thunar_progress_view_finalize (GObject *object)
+{
+  ThunarProgressView *view = THUNAR_PROGRESS_VIEW (object);
+
+  g_free (view->icon_name);
+  g_free (view->title);
+
+  (*G_OBJECT_CLASS (thunar_progress_view_parent_class)->finalize) (object);
+}
+
+
+
+static void
 thunar_progress_view_dispose (GObject *object)
 {
   ThunarProgressView *view = THUNAR_PROGRESS_VIEW (object);
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to