forked from AuroraMiddleware/gtk
Don't leak default_sort_data. (#346341, Christian Weiske)
2006-07-02 Matthias Clasen <mclasen@redhat.com> * gtk/gtktreemodelsort.c (gtk_tree_model_sort_finalize): Don't leak default_sort_data. (#346341, Christian Weiske)
This commit is contained in:
parent
26c3befdf0
commit
0072406481
@ -1,5 +1,8 @@
|
||||
2006-06-30 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_finalize):
|
||||
Don't leak default_sort_data. (#346341, Christian Weiske)
|
||||
|
||||
* gtk/Makefile.am: Make sure all win32-specific printing
|
||||
sources are distributed. (#346312, Erik van Pienbroek)
|
||||
|
||||
|
@ -1,5 +1,8 @@
|
||||
2006-06-30 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_finalize):
|
||||
Don't leak default_sort_data. (#346341, Christian Weiske)
|
||||
|
||||
* gtk/Makefile.am: Make sure all win32-specific printing
|
||||
sources are distributed. (#346312, Erik van Pienbroek)
|
||||
|
||||
|
@ -353,6 +353,14 @@ gtk_tree_model_sort_finalize (GObject *object)
|
||||
tree_model_sort->sort_list = NULL;
|
||||
}
|
||||
|
||||
if (tree_model_sort->default_sort_destroy)
|
||||
{
|
||||
tree_model_sort->default_sort_destroy (tree_model_sort->default_sort_data);
|
||||
tree_model_sort->default_sort_destroy = NULL;
|
||||
tree_model_sort->default_sort_data = NULL;
|
||||
}
|
||||
|
||||
|
||||
/* must chain up */
|
||||
G_OBJECT_CLASS (gtk_tree_model_sort_parent_class)->finalize (object);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user