Fix debugging programs statically linked against the thread library.
[deliverable/binutils-gdb.git] / gdb / remote-adapt.c
index 6e97c1983a052d47ccaddaa7a9fd7c6d7fad9ba0..f370d3850eaac49b13ad4eab530310c63760592d 100644 (file)
@@ -610,7 +610,7 @@ the baud rate, and the name of the program to run on the remote system.");
     /*EMPTY */ ;
 
   if (prog_name != NULL)
-    free (prog_name);
+    xfree (prog_name);
   prog_name = savestring (p, strlen (p));
 
   adapt_close (0);
This page took 0.023331 seconds and 4 git commands to generate.