X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Foutput%2Frender-test.c;h=fdfb2d20b6feb0cf664fd8bc7251908cb89789bc;hb=a4b0d14666d23ed908fd991b7435997436c2d79a;hp=0d6f9684f30a6f87457f06105b7519a4b4bd5155;hpb=8dd405d0900f29f69e54726a79045c119146de89;p=pspp diff --git a/tests/output/render-test.c b/tests/output/render-test.c index 0d6f9684f3..fdfb2d20b6 100644 --- a/tests/output/render-test.c +++ b/tests/output/render-test.c @@ -116,6 +116,7 @@ main (int argc, char **argv) if (transpose) table = table_transpose (table); table_item_submit (table_item_create (table, NULL, NULL)); + free (tables); } else draw (input); @@ -488,7 +489,7 @@ read_table (FILE *stream, struct table **tables, size_t n_tables) tab_joint_text (tab, c, r, c + cs - 1, r + rs - 1, opt, content); else - tab_footnote (tab, c, r, content); + tab_footnote (tab, c, r, "%s", content); } }