Replace "if (x) free (x)" with "free (x)", bfd
[deliverable/binutils-gdb.git] / bfd / elfxx-x86.c
index 0fc75fbedfb7f6086b0c803dcc2f4b01de76a7fc..9679dca981e77923e7ad2c0bccd5bdb827cba6e5 100644 (file)
@@ -2451,8 +2451,7 @@ _bfd_x86_elf_get_synthetic_symtab (bfd *abfd,
     count = n;
 
   for (j = 0; plts[j].name != NULL; j++)
-    if (plts[j].contents != NULL)
-      free (plts[j].contents);
+    free (plts[j].contents);
 
   free (dynrelbuf);
 
This page took 0.024054 seconds and 4 git commands to generate.