forked from AuroraMiddleware/gtk
avoid memory corruption (#357050).
2006-11-07 Paolo Borelli <pborelli@katamail.com> * gtk/gtktextbtree.c (_gtk_text_btree_delete): avoid memory corruption (#357050).
This commit is contained in:
parent
853f5e5fc2
commit
f3a47fc835
@ -1,3 +1,8 @@
|
||||
2006-11-07 Paolo Borelli <pborelli@katamail.com>
|
||||
|
||||
* gtk/gtktextbtree.c (_gtk_text_btree_delete): avoid memory
|
||||
corruption (#357050).
|
||||
|
||||
2006-11-06 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gtk/gtkdnd.c: (gtk_drag_begin_internal),
|
||||
|
@ -886,6 +886,7 @@ _gtk_text_btree_delete (GtkTextIter *start,
|
||||
start_line->segments = seg;
|
||||
}
|
||||
else if (prev_seg->next &&
|
||||
prev_seg->next != last_seg &&
|
||||
seg->type == >k_text_toggle_off_type &&
|
||||
prev_seg->next->type == >k_text_toggle_on_type &&
|
||||
seg->body.toggle.info == prev_seg->next->body.toggle.info)
|
||||
|
Loading…
Reference in New Issue
Block a user