[gnumeric] sstest: plug leak.



commit fe6155bfe17690880beedd63f2ecaa8793920db2
Author: Morten Welinder <terra gnome org>
Date:   Mon Mar 23 19:34:09 2015 -0400

    sstest: plug leak.

 ChangeLog    |    4 ++++
 src/sstest.c |    1 +
 2 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index a9c5e5a..d8e14c9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-03-23  Morten Welinder  <terra gnome org>
+
+       * src/sstest.c (rand_fractile_test): Plug leak.
+
 2015-03-21  Morten Welinder  <terra gnome org>
 
        * src/sstest.c (rand_fractile_test): Add support for
diff --git a/src/sstest.c b/src/sstest.c
index fa96c26..b12eea4 100644
--- a/src/sstest.c
+++ b/src/sstest.c
@@ -602,6 +602,7 @@ rand_fractile_test (gnm_float const *vals, int N, int nf,
        }
 
        g_free (fractilecount);
+       g_free (expected);
 
        return ok;
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]