mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 17:53:37 +08:00
support: Free gdb_script_name
Identified by static analysis.
This commit is contained in:
parent
75fe6d1a16
commit
c7d200400c
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user