diff --git a/ChangeLog b/ChangeLog index 10667582d..4d10d4489 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Jul 11 20:48:14 2003 Kristian Rietveld + + * gtk/gtktreemodel.c (gtk_tree_path_free): make the path != NULL + check a silent assert, so it follows the g_free() behaviour. + 2003-07-11 Matthias Clasen * gtk/gtkstatusbar.c (gtk_statusbar_init): Center statusbar contents diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 10667582d..4d10d4489 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +Fri Jul 11 20:48:14 2003 Kristian Rietveld + + * gtk/gtktreemodel.c (gtk_tree_path_free): make the path != NULL + check a silent assert, so it follows the g_free() behaviour. + 2003-07-11 Matthias Clasen * gtk/gtkstatusbar.c (gtk_statusbar_init): Center statusbar contents diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 10667582d..4d10d4489 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +Fri Jul 11 20:48:14 2003 Kristian Rietveld + + * gtk/gtktreemodel.c (gtk_tree_path_free): make the path != NULL + check a silent assert, so it follows the g_free() behaviour. + 2003-07-11 Matthias Clasen * gtk/gtkstatusbar.c (gtk_statusbar_init): Center statusbar contents diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 10667582d..4d10d4489 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +Fri Jul 11 20:48:14 2003 Kristian Rietveld + + * gtk/gtktreemodel.c (gtk_tree_path_free): make the path != NULL + check a silent assert, so it follows the g_free() behaviour. + 2003-07-11 Matthias Clasen * gtk/gtkstatusbar.c (gtk_statusbar_init): Center statusbar contents diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 10667582d..4d10d4489 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +Fri Jul 11 20:48:14 2003 Kristian Rietveld + + * gtk/gtktreemodel.c (gtk_tree_path_free): make the path != NULL + check a silent assert, so it follows the g_free() behaviour. + 2003-07-11 Matthias Clasen * gtk/gtkstatusbar.c (gtk_statusbar_init): Center statusbar contents diff --git a/gtk/gtktreemodel.c b/gtk/gtktreemodel.c index eca14bd0f..d8a849ca9 100644 --- a/gtk/gtktreemodel.c +++ b/gtk/gtktreemodel.c @@ -397,7 +397,8 @@ gtk_tree_path_get_indices (GtkTreePath *path) void gtk_tree_path_free (GtkTreePath *path) { - g_return_if_fail (path != NULL); + if (!path) + return; g_free (path->indices); g_free (path);