[gnumeric] MODE.MULT: Plug leak.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] MODE.MULT: Plug leak.
- Date: Tue, 21 Nov 2017 02:15:12 +0000 (UTC)
commit 5c2237c7b089e3a0484a9176cf434c7ec92c69b7
Author: Morten Welinder <terra gnome org>
Date: Mon Nov 20 21:14:18 2017 -0500
MODE.MULT: Plug leak.
plugins/fn-stat/ChangeLog | 4 ++++
plugins/fn-stat/functions.c | 1 +
2 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/plugins/fn-stat/ChangeLog b/plugins/fn-stat/ChangeLog
index 2891f9f..cf4bed7 100644
--- a/plugins/fn-stat/ChangeLog
+++ b/plugins/fn-stat/ChangeLog
@@ -1,3 +1,7 @@
+2017-11-20 Morten Welinder <terra gnome org>
+
+ * functions.c (gnumeric_mode_mult): Plug leak.
+
2017-11-18 Morten Welinder <terra gnome org>
* Release 1.12.36
diff --git a/plugins/fn-stat/functions.c b/plugins/fn-stat/functions.c
index d561548..e23f973 100644
--- a/plugins/fn-stat/functions.c
+++ b/plugins/fn-stat/functions.c
@@ -716,6 +716,7 @@ gnumeric_mode_mult (GnmFuncEvalInfo *ei, int argc, GnmExprConstPtr const *argv)
i = 0;
for (l = keys; l != NULL; l = l->next)
value_array_set (result, 0, i++, value_new_float (*((gnm_float *)(l->data))));
+ g_list_free (keys);
}
g_hash_table_destroy (h);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]