[gnumeric] Fix crash in graphs using markups. [#663216]
- From: Jean BrÃfort <jbrefort src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] Fix crash in graphs using markups. [#663216]
- Date: Wed, 2 Nov 2011 06:28:14 +0000 (UTC)
commit c38c563627f5642bc36594069a05678d198b88e8
Author: Jean Brefort <jean brefort normalesup org>
Date: Wed Nov 2 07:27:33 2011 +0100
Fix crash in graphs using markups. [#663216]
ChangeLog | 5 +++++
NEWS | 1 +
src/graph.c | 2 ++
3 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 01b4494..e7d871d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-11-02 Jean Brefort <jean brefort normalesup org>
+
+ * src/graph.c (gnm_go_data_vector_eval): erase markup list when changed.
+ [#663216]
+
2011-10-31 Jean Brefort <jean brefort normalesup org>
* src/sheet-object-image.c (gnm_soi_write_image), (soi_cb_save_as): don't
diff --git a/NEWS b/NEWS
index 2bfd4fd..e0ee06c 100644
--- a/NEWS
+++ b/NEWS
@@ -62,6 +62,7 @@ Jean:
[#661720, #661855]
* Add support for SVG images using librsvg.
* Fixed SVG images size. [#628472]
+ * Fix crash in graphs using markups. [#663216]
Mikko Rasa:
* Fix ODF import of certain percentage formats. [Debian #642135]
diff --git a/src/graph.c b/src/graph.c
index 2d3f71a..4da3a8e 100644
--- a/src/graph.c
+++ b/src/graph.c
@@ -472,6 +472,8 @@ gnm_go_data_vector_eval (GnmDependent *dep)
value_release (vec->val);
vec->val = NULL;
+ g_free (vec->markup);
+ vec->markup = NULL;
go_data_emit_changed (GO_DATA (vec));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]