mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-06 20:58:33 +01:00
support: Free gdb_script_name
Identified by static analysis.
This commit is contained in:
parent
75fe6d1a16
commit
c7d200400c
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue