Fix memory leak in render-test.c
authorJohn Darrington <john@darrington.wattle.id.au>
Wed, 3 Feb 2016 07:07:45 +0000 (08:07 +0100)
committerJohn Darrington <john@darrington.wattle.id.au>
Wed, 3 Feb 2016 07:07:45 +0000 (08:07 +0100)
tests/output/render-test.c

index 8ce0697910537194d450a09809ef73a2fd3079e9..fdfb2d20b6feb0cf664fd8bc7251908cb89789bc 100644 (file)
@@ -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);