diff options
author | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2021-05-12 10:06:32 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2021-05-13 08:07:23 +0530 |
commit | c7d200400c6a8fc0428005a83cdf1ae2c87e009c (patch) | |
tree | 110663cceab1d2fc612d7625778d2548ad99dcd7 /support/support_test_main.c | |
parent | 75fe6d1a1620d84e0e487868feba9b2c0f109610 (diff) | |
download | glibc-c7d200400c6a8fc0428005a83cdf1ae2c87e009c.tar.gz glibc-c7d200400c6a8fc0428005a83cdf1ae2c87e009c.tar.xz glibc-c7d200400c6a8fc0428005a83cdf1ae2c87e009c.zip |
support: Free gdb_script_name
Identified by static analysis.
Diffstat (limited to 'support/support_test_main.c')
-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. */ |