Fixed a memory leak in sparse-xarray-test.c
authorJohn Darrington <john@darrington.wattle.id.au>
Sun, 29 Jul 2012 06:05:00 +0000 (08:05 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Sun, 29 Jul 2012 06:05:00 +0000 (08:05 +0200)
tests/libpspp/sparse-xarray-test.c

index 279863e9baac10713ed6560222f68093f27924fe..5354211230d0fd670791185d885044a930e80d8a 100644 (file)
@@ -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 *