X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Flibpspp%2Fsparse-xarray-test.c;h=47b338a65d2ee1dbee00b909326bce13e4b25ee4;hb=refs%2Fheads%2Fctables10;hp=279863e9baac10713ed6560222f68093f27924fe;hpb=cb586666724d5fcbdb658ce471b85484f0a7babe;p=pspp diff --git a/tests/libpspp/sparse-xarray-test.c b/tests/libpspp/sparse-xarray-test.c index 279863e9ba..47b338a65d 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 * @@ -471,10 +472,9 @@ usage (void) " --no-copy-columns Do not copy column ranges in an xarray\n", program_name, program_name); mc_options_usage (); - fputs ("\nOther options:\n" + printf ("\nOther options:\n" " --help Display this help message\n" - "\nReport bugs to \n", - stdout); + "\nReport bugs to <%s>\n", PACKAGE_BUGREPORT); exit (0); }