[gnumeric] fix leak
- From: Andreas J. Guelzow <guelzow src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] fix leak
- Date: Wed, 8 May 2013 06:55:45 +0000 (UTC)
commit ad00fc57088eafccdab2de0eb3282b7a2fe1a839
Author: Andreas J Guelzow <aguelzow pyrshep ca>
Date: Wed May 8 00:55:24 2013 -0600
fix leak
2013-05-08 Andreas J. Guelzow <aguelzow pyrshep ca>
* src/commands.c (cmd_merge_data_redo): unref merge_contents
ChangeLog | 4 ++++
src/commands.c | 1 +
2 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 4b44dfd..52caa95 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2013-05-08 Andreas J. Guelzow <aguelzow pyrshep ca>
+ * src/commands.c (cmd_merge_data_redo): unref merge_contents
+
+2013-05-08 Andreas J. Guelzow <aguelzow pyrshep ca>
+
* src/commands.c (cmd_merge_data_redo): use gnm_cell_set_value
rather than gnm_cell_assign_value
diff --git a/src/commands.c b/src/commands.c
index f62dd30..d8d1642 100644
--- a/src/commands.c
+++ b/src/commands.c
@@ -5552,6 +5552,7 @@ cmd_merge_data_redo (GnmCommand *cmd, WorkbookControl *wbc)
paste_target_init (&pt, new_sheet, &target_range, PASTE_ALL_TYPES),
GO_CMD_CONTEXT (wbc));
}
+ cellregion_unref (merge_contents);
me->sheet_list = g_slist_reverse (me->sheet_list);
colrow_state_list_destroy (state_col);
colrow_state_list_destroy (state_row);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]