Commit ad3caba0 authored by Morten Welinder's avatar Morten Welinder Committed by Morten Welinder

Fix memory corruption on double destroys.

2002-04-11  Morten Welinder  <terra@diku.dk>

	* src/item-edit.c (item_edit_destroy): Fix memory corruption on
	double destroys.
parent 75968dc3
2002-04-11 Morten Welinder <terra@diku.dk>
* src/item-edit.c (item_edit_destroy): Fix memory corruption on
double destroys.
2002-04-10 Andreas J. Guelzow <aguelzow@taliesin.ca>
* src/sheet-object-graphic.c (sheet_object_filled_user_config) : don't
......
2002-04-11 Morten Welinder <terra@diku.dk>
* src/item-edit.c (item_edit_destroy): Fix memory corruption on
double destroys.
2002-04-10 Andreas J. Guelzow <aguelzow@taliesin.ca>
* src/sheet-object-graphic.c (sheet_object_filled_user_config) : don't
......
2002-04-11 Morten Welinder <terra@diku.dk>
* src/item-edit.c (item_edit_destroy): Fix memory corruption on
double destroys.
2002-04-10 Andreas J. Guelzow <aguelzow@taliesin.ca>
* src/sheet-object-graphic.c (sheet_object_filled_user_config) : don't
......
......@@ -438,8 +438,10 @@ item_edit_destroy (GtkObject *o)
ItemEdit *item_edit = ITEM_EDIT (o);
GtkEntry *entry = item_edit->entry;
if (item_edit->text_offsets != NULL)
if (item_edit->text_offsets != NULL) {
g_slist_free (item_edit->text_offsets);
item_edit->text_offsets = NULL;
}
item_edit_cursor_blink_stop (item_edit);
entry_destroy_feedback_range (item_edit);
......
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