Commit b7d09a27 authored by Bastien Nocera's avatar Bastien Nocera Committed by Bastien Nocera

Bug 569240 - Crasher when using markers

2009-01-26  Bastien Nocera  <hadess@hadess.net>

	Bug 569240 - Crasher when using markers

	* gtk/gtkrange.c (gtk_range_destroy): Avoid crashes when destroying
	a GtkRange with markers


svn path=/trunk/; revision=22224
parent 14f26357
2009-01-26 Bastien Nocera <hadess@hadess.net>
Bug 569240 - Crasher when using markers
* gtk/gtkrange.c (gtk_range_destroy): Avoid crashes when destroying
a GtkRange with markers
2009-01-26 Richard Hult <richard@imendio.com>
Bug 566628 – gdk_display_close always asserts on win32 and quartz
......
......@@ -1225,7 +1225,9 @@ gtk_range_destroy (GtkObject *object)
if (range->layout->n_marks)
{
g_free (range->layout->marks);
range->layout->marks = NULL;
g_free (range->layout->mark_pos);
range->layout->mark_pos = NULL;
range->layout->n_marks = 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment