gdb: remove unnecessary NULL checks before xfree
[deliverable/binutils-gdb.git] / gdb / i386-windows-tdep.c
index 7233b1f28f51754e6a81033b292c6daa2cef42e1..f5965399abceaae271bb5010cfcfa109321c69d6 100644 (file)
@@ -142,8 +142,7 @@ core_process_module_section (bfd *abfd, asection *sect, void *obj)
   data->module_count++;
 
 out:
-  if (buf)
-    xfree (buf);
+  xfree (buf);
   return;
 }
 
This page took 0.024771 seconds and 4 git commands to generate.