]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libiberty/pex-common.c
remove useless if-before-free tests
[thirdparty/gcc.git] / libiberty / pex-common.c
index 55b63ae33fe9840c280e3547c895260ee5d6f593..6fd3fdecd808b38ad024a7db14163795eb99a91f 100644 (file)
@@ -623,12 +623,9 @@ pex_free (struct pex_obj *obj)
 
   if (obj->next_input_name_allocated)
     free (obj->next_input_name);
-  if (obj->children != NULL)
-    free (obj->children);
-  if (obj->status != NULL)
-    free (obj->status);
-  if (obj->time != NULL)
-    free (obj->time);
+  free (obj->children);
+  free (obj->status);
+  free (obj->time);
 
   if (obj->remove_count > 0)
     {