gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git] / bfd / libbfd.c
index 3579ddb855a643da28c0edf59b43399da324f894..efe10d22e8903ff257eb02b081bb2f4c927bc7ad 100644 (file)
@@ -312,7 +312,7 @@ bfd_realloc_or_free (void *ptr, bfd_size_type size)
 {
   void *ret = bfd_realloc (ptr, size);
 
-  if (ret == NULL && ptr != NULL)
+  if (ret == NULL)
     free (ptr);
 
   return ret;
This page took 0.030921 seconds and 4 git commands to generate.