Skip to content
Snippets Groups Projects
Commit bd860803 authored by Nick Schermer's avatar Nick Schermer
Browse files

Free string in progress view.

parent 4aadead7
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......@@ -226,6 +228,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)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment