]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - ld/ldelf.c
Replace "if (x) free (x)" with "free (x)", ld
[thirdparty/binutils-gdb.git] / ld / ldelf.c
index fa4bf9f7278393a6a30a8e2e17b6ae7fdb606755..efb4b77382e483cb19d1d6a03074698a32615cd4 100644 (file)
@@ -783,8 +783,7 @@ ldelf_parse_ld_so_conf_include (struct ldelf_ld_so_conf *info,
   ldelf_parse_ld_so_conf (info, pattern);
 #endif
 
-  if (newp)
-    free (newp);
+  free (newp);
 }
 
 static bfd_boolean