Commit 6ab6a6b1 authored by Morten Welinder's avatar Morten Welinder Committed by Morten Welinder

Plug leak.

2001-10-29  Morten Welinder  <terra@diku.dk>

	* src/func.c (function_iterate_argument_values): Plug leak.

	* src/workbook-view.c (wb_view_save_as): Plug leak.
	(wb_view_save): Ditto.
parent 13e409f9
2001-10-29 Morten Welinder <terra@diku.dk>
* src/func.c (function_iterate_argument_values): Plug leak.
* src/workbook-view.c (wb_view_save_as): Plug leak.
(wb_view_save): Ditto.
2001-10-29 Jody Goldberg <jgoldberg@home.com>
* configure.in : bump version.
......
2001-10-29 Morten Welinder <terra@diku.dk>
* src/func.c (function_iterate_argument_values): Plug leak.
* src/workbook-view.c (wb_view_save_as): Plug leak.
(wb_view_save): Ditto.
2001-10-29 Jody Goldberg <jgoldberg@home.com>
* configure.in : bump version.
......
2001-10-29 Morten Welinder <terra@diku.dk>
* src/func.c (function_iterate_argument_values): Plug leak.
* src/workbook-view.c (wb_view_save_as): Plug leak.
(wb_view_save): Ditto.
2001-10-29 Jody Goldberg <jgoldberg@home.com>
* configure.in : bump version.
......
2001-10-29 Morten Welinder <terra@diku.dk>
* src/func.c (function_iterate_argument_values): Plug leak.
* src/workbook-view.c (wb_view_save_as): Plug leak.
(wb_view_save): Ditto.
2001-10-29 Jody Goldberg <jgoldberg@home.com>
* configure.in : bump version.
......
......@@ -1022,7 +1022,7 @@ function_iterate_argument_values (const EvalPos *ep,
if (strict && val->type == VALUE_ERROR) {
/* Be careful not to make value_terminate into a real value */
/* FIXME : Make the new position of the error here */
return (val != value_terminate ())? value_duplicate (val) : val;
return val;
}
result = function_iterate_do_value (ep, callback, callback_closure,
......
......@@ -606,7 +606,7 @@ wb_view_save_as (WorkbookView *wbv, WorkbookControl *wbc,
gnumeric_io_error_display (io_context);
success = FALSE;
}
gtk_object_destroy (GTK_OBJECT (io_context));
gtk_object_unref (GTK_OBJECT (io_context));
return success;
}
......@@ -651,7 +651,7 @@ wb_view_save (WorkbookView *wbv, WorkbookControl *wbc)
gnumeric_io_error_display (io_context);
success = FALSE;
}
gtk_object_destroy (GTK_OBJECT (io_context));
gtk_object_unref (GTK_OBJECT (io_context));
return success;
}
......
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