]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - bfd/elf64-hppa.c
Replace "if (x) free (x)" with "free (x)", bfd
[thirdparty/binutils-gdb.git] / bfd / elf64-hppa.c
index 0fdbea45cce5e8cf9912d5e3b441c91c23f53ff0..7fc2dc0e0c1384babf3b7eee1c56c1a735d40dbc 100644 (file)
@@ -534,8 +534,7 @@ elf64_hppa_check_relocs (bfd *abfd,
 
         ?!? Note we leak the last section_syms array.  Presumably we
         could free it in one of the later routines in this file.  */
-      if (hppa_info->section_syms)
-       free (hppa_info->section_syms);
+      free (hppa_info->section_syms);
 
       /* Read this BFD's local symbols.  */
       if (symtab_hdr->sh_info != 0)