Commit 1a829410 authored by Jody Goldberg's avatar Jody Goldberg Committed by Jody Goldberg

Plug leak.

2000-09-29  Jody Goldberg <jgoldberg@home.com>

	* src/graph-series.c
	(graph_series_seq_scalar) : Mark the sequence for release.
	(graph_series_seq_date) : Ditto.
	(graph_series_seq_string) : Ditto.
parent 7566f7b1
2000-09-29 Jody Goldberg <jgoldberg@home.com>
* src/graph-series.c
(graph_series_seq_scalar) : Mark the sequence for release.
(graph_series_seq_date) : Ditto.
(graph_series_seq_string) : Ditto.
* src/workbook.c (workbook_close_if_user_permits) : Simplify and
beautify.
......
2000-09-29 Jody Goldberg <jgoldberg@home.com>
* src/graph-series.c
(graph_series_seq_scalar) : Mark the sequence for release.
(graph_series_seq_date) : Ditto.
(graph_series_seq_string) : Ditto.
* src/workbook.c (workbook_close_if_user_permits) : Simplify and
beautify.
......
2000-09-29 Jody Goldberg <jgoldberg@home.com>
* src/graph-series.c
(graph_series_seq_scalar) : Mark the sequence for release.
(graph_series_seq_date) : Ditto.
(graph_series_seq_string) : Ditto.
* src/workbook.c (workbook_close_if_user_permits) : Simplify and
beautify.
......
2000-09-29 Jody Goldberg <jgoldberg@home.com>
* src/graph-series.c
(graph_series_seq_scalar) : Mark the sequence for release.
(graph_series_seq_date) : Ditto.
(graph_series_seq_string) : Ditto.
* src/workbook.c (workbook_close_if_user_permits) : Simplify and
beautify.
......
2000-09-29 Jody Goldberg <jgoldberg@home.com>
* src/graph-series.c
(graph_series_seq_scalar) : Mark the sequence for release.
(graph_series_seq_date) : Ditto.
(graph_series_seq_string) : Ditto.
* src/workbook.c (workbook_close_if_user_permits) : Simplify and
beautify.
......
2000-09-29 Jody Goldberg <jgoldberg@home.com>
* src/graph-series.c
(graph_series_seq_scalar) : Mark the sequence for release.
(graph_series_seq_date) : Ditto.
(graph_series_seq_string) : Ditto.
* src/workbook.c (workbook_close_if_user_permits) : Simplify and
beautify.
......
2000-09-29 Jody Goldberg <jgoldberg@home.com>
* src/graph-series.c
(graph_series_seq_scalar) : Mark the sequence for release.
(graph_series_seq_date) : Ditto.
(graph_series_seq_string) : Ditto.
* src/workbook.c (workbook_close_if_user_permits) : Simplify and
beautify.
......
......@@ -89,6 +89,7 @@ graph_series_seq_scalar (GraphSeries *series)
values = GNOME_Gnumeric_SeqScalar__alloc ();
values->_length = values->_maximum = len;
values->_buffer = CORBA_sequence_CORBA_double_allocbuf (len);
values->_release = CORBA_TRUE;
/* FIXME : This is dog slow */
for (i = 0; i < len ; ++i) {
......@@ -118,6 +119,7 @@ graph_series_seq_date (GraphSeries *series)
values = GNOME_Gnumeric_SeqDate__alloc ();
values->_length = values->_maximum = len;
values->_buffer = CORBA_sequence_CORBA_long_allocbuf (len);
values->_release = CORBA_TRUE;
/* FIXME : This is dog slow */
for (i = 0; i < len ; ++i) {
......@@ -145,6 +147,7 @@ graph_series_seq_string (GraphSeries *series)
values = GNOME_Gnumeric_SeqString__alloc ();
values->_length = values->_maximum = len;
values->_buffer = CORBA_sequence_CORBA_string_allocbuf (len);
values->_release = CORBA_TRUE;
/* FIXME : This is dog slow */
for (i = 0; i < len ; ++i) {
......
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