gcc/testsuite/ChangeLog:
PR jit/63854
* jit.dg/test-fuzzer.c (fuzzer_init): Free malloced buffers.
(make_random_function): Free ff->locals.
From-SVN: r217812
+2014-11-19 David Malcolm <dmalcolm@redhat.com>
+
+ PR jit/63854
+ * jit.dg/test-fuzzer.c (fuzzer_init): Free malloced buffers.
+ (make_random_function): Free ff->locals.
+
2014-11-19 Uros Bizjak <ubizjak@gmail.com>
PR target/63947
for (i = 0; i < num_funcs; i++)
f->funcs[f->num_funcs++] = make_random_function (f);
+
+ /* Now clean out f. */
+ free (f->types);
+ free (f->funcs);
+ free (f->globals);
}
/* Get random int in inclusive range [min, max]. */
gcc_jit_function *result = ff->fn;
+ free (ff->locals);
free (ff->params);
free (ff);