[goffice] Compilation: don't check g_free calls.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [goffice] Compilation: don't check g_free calls.
- Date: Mon, 15 Dec 2014 16:51:59 +0000 (UTC)
commit 63915d9ed957e14adf7df121843dad4f03c0489e
Author: Morten Welinder <terra gnome org>
Date: Mon Dec 15 11:49:36 2014 -0500
Compilation: don't check g_free calls.
plugins/plot_surface/gog-xyz-surface.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/plugins/plot_surface/gog-xyz-surface.c b/plugins/plot_surface/gog-xyz-surface.c
index 7f20d42..7f0b689 100644
--- a/plugins/plot_surface/gog-xyz-surface.c
+++ b/plugins/plot_surface/gog-xyz-surface.c
@@ -570,8 +570,7 @@ gog_xyz_surface_plot_update (GogObject *obj)
if (GOG_PLOT (model)->desc.series.num_dim > 2 && model->z.fmt == NULL)
model->z.fmt = go_data_preferred_fmt (series->base.values[2].data);
- if (model->plotted_data != NULL)
- g_free (model->plotted_data);
+ g_free (model->plotted_data);
model->plotted_data = gog_xyz_plot_build_matrix (model, NULL);
if (model->plotted_data) {
gog_axis_bound_changed (model->base.axis[GOG_XYZ_PLOT_GET_CLASS (model)->third_axis],
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]