diff options
-rw-r--r-- | support/support_test_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/support/support_test_main.c b/support/support_test_main.c index cb72512226..07e3cdd173 100644 --- a/support/support_test_main.c +++ b/support/support_test_main.c @@ -221,6 +221,7 @@ run_test_function (int argc, char **argv, const struct test_config *config) fprintf (gdb_script, "attach %ld\n", (long int) mypid); fprintf (gdb_script, "set wait_for_debugger = 0\n"); fclose (gdb_script); + free (gdb_script_name); } /* Wait for the debugger to set wait_for_debugger to zero. */ |