Commit 4ca25bed authored by Morten Welinder's avatar Morten Welinder Committed by Morten Welinder

Plug leaks.

2006-02-27  Morten Welinder  <terra@gnome.org>

	* src/expr.c (do_gnm_expr_unref): Plug leaks.
parent d81ccb11
2006-02-27 Morten Welinder <terra@gnome.org>
* src/expr.c (do_gnm_expr_unref): Plug leaks.
2006-02-26 Morten Welinder <terra@gnome.org>
* src/workbook-control-gui.c (wbcg_create): Attach to notify::uri
......
2006-02-27 Morten Welinder <terra@gnome.org>
* src/expr.c (do_gnm_expr_unref): Plug leaks.
2006-02-26 Morten Welinder <terra@gnome.org>
* src/workbook-control-gui.c (wbcg_create): Attach to notify::uri
......
......@@ -436,6 +436,7 @@ do_gnm_expr_unref (GnmExpr const *expr)
for (i = 0; i < expr->func.argc; i++)
do_gnm_expr_unref (expr->func.argv[i]);
g_free (expr->func.argv);
gnm_func_unref (expr->func.func);
CHUNK_FREE (expression_pool_small, (gpointer)expr);
break;
......@@ -476,6 +477,7 @@ do_gnm_expr_unref (GnmExpr const *expr)
for (i = 0; i < expr->set.argc; i++)
do_gnm_expr_unref (expr->set.argv[i]);
g_free (expr->set.argv);
CHUNK_FREE (expression_pool_small, (gpointer)expr);
break;
}
......
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