Replace free() with xfree().
[deliverable/binutils-gdb.git] / gdb / valops.c
index 918398493bcc7ad95388ddd7fc700e243bae6979..835349c7085f50d750439adc53795e7e75299e9e 100644 (file)
@@ -2788,7 +2788,7 @@ find_overload_match (struct type **arg_types, int nargs, char *name, int method,
          default:
            break;
          }
-      free (parm_types);
+      xfree (parm_types);
       if (overload_debug)
        {
          if (method)
@@ -2860,7 +2860,7 @@ find_overload_match (struct type **arg_types, int nargs, char *name, int method,
   else
     {
       *symp = oload_syms[oload_champ];
-      free (func_name);
+      xfree (func_name);
     }
 
   return oload_incompatible ? 100 : (oload_non_standard ? 10 : 0);
This page took 0.025993 seconds and 4 git commands to generate.