Fix potential segfault
[deliverable/binutils-gdb.git] / bfd / elf32-rx.c
index 89b7ed50954dc2a8081edbae8819f03909193fe9..3f03ab21f09cf4f7a149232e131a4e60a8886e13 100644 (file)
@@ -3037,8 +3037,7 @@ elf32_rx_relax_section (bfd *                    abfd,
   return TRUE;
 
  error_return:
-  if (free_contents != NULL)
-    free (free_contents);
+  free (free_contents);
 
   if (shndx_buf != NULL)
     {
@@ -3046,8 +3045,7 @@ elf32_rx_relax_section (bfd *                    abfd,
       free (shndx_buf);
     }
 
-  if (free_intsyms != NULL)
-    free (free_intsyms);
+  free (free_intsyms);
 
   return FALSE;
 }
This page took 0.025573 seconds and 4 git commands to generate.