[gnumeric] Fix undo crash for column widths. [#649139]
- From: Andreas J. Guelzow <guelzow src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] Fix undo crash for column widths. [#649139]
- Date: Mon, 2 May 2011 05:19:53 +0000 (UTC)
commit 9a63faec1ce4a23d6446264ab36a58282830669e
Author: Andreas J Guelzow <aguelzow pyrshep ca>
Date: Sun May 1 23:19:31 2011 -0600
Fix undo crash for column widths. [#649139]
2011-05-01 Andreas J. Guelzow <aguelzow pyrshep ca>
* src/colrow.c (colrow_set_states): use colrow_free, not g_free;
fixes #649139
ChangeLog | 5 +++++
NEWS | 1 +
src/colrow.c | 2 +-
3 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index e0bac0c..f1d4f30 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-05-01 Andreas J. Guelzow <aguelzow pyrshep ca>
+
+ * src/colrow.c (colrow_set_states): use colrow_free, not g_free;
+ fixes #649139
+
2011-05-01 Morten Welinder <terra gnome org>
* src/sheet.c (gnm_sheet_init): Use a set-style GHash for cells in
diff --git a/NEWS b/NEWS
index c854093..f5fdfca 100644
--- a/NEWS
+++ b/NEWS
@@ -6,6 +6,7 @@ Andreas:
* Redesign autofilter Top10 dialog. [#646641]
* Handle NUL characters in cvs import. [#648354]
* Fix some Statistics tool formatting. [#649092]
+ * Fix undo crash for column widths. [#649139]
Morten:
* Fix problems with localized function docs.
diff --git a/src/colrow.c b/src/colrow.c
index 9159e60..cc02281 100644
--- a/src/colrow.c
+++ b/src/colrow.c
@@ -608,7 +608,7 @@ colrow_set_states (Sheet *sheet, gboolean is_cols,
ColRowInfo *cri = segment->info[sub];
if (cri != NULL) {
segment->info[sub] = NULL;
- g_free (cri);
+ colrow_free (cri);
}
}
} else {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]