From c3b4d3a80c6da1f8b0c5e2f65e46ec28f7e29711 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Sun, 29 Jul 2012 08:05:00 +0200 Subject: [PATCH] Fixed a memory leak in sparse-xarray-test.c --- tests/libpspp/sparse-xarray-test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/libpspp/sparse-xarray-test.c b/tests/libpspp/sparse-xarray-test.c index 279863e9ba..5354211230 100644 --- a/tests/libpspp/sparse-xarray-test.c +++ b/tests/libpspp/sparse-xarray-test.c @@ -73,6 +73,7 @@ test_state_destroy (const struct test_params *params, struct test_state *ts) for (i = 0; i < params->n_xarrays; i++) sparse_xarray_destroy (ts->xarrays[i]); + free (ts); } static struct test_state * -- 2.30.2