From: John Darrington Date: Sun, 29 Jul 2012 06:05:00 +0000 (+0200) Subject: Fixed a memory leak in sparse-xarray-test.c X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3b4d3a80c6da1f8b0c5e2f65e46ec28f7e29711;p=pspp Fixed a memory leak in sparse-xarray-test.c --- 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 *