mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
support: Free gdb_script_name
Identified by static analysis.
This commit is contained in:
@ -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. */
|
||||
|
Reference in New Issue
Block a user