summaryrefslogtreecommitdiff
path: root/libiberty/pex-common.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2011-04-20 19:06:46 +0000
committerDJ Delorie <dj@redhat.com>2011-04-20 19:06:46 +0000
commit4ff224cb8d9347245ffea0f5853d862f0574452e (patch)
treef0ad924656bb6f1332030f73e18939949db327f0 /libiberty/pex-common.c
parente7782cf63b834cc4c4d159dcb6e3a9908b12432f (diff)
downloadbinutils-gdb-4ff224cb8d9347245ffea0f5853d862f0574452e.tar.gz
merge from gcc
Diffstat (limited to 'libiberty/pex-common.c')
-rw-r--r--libiberty/pex-common.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/libiberty/pex-common.c b/libiberty/pex-common.c
index 55b63ae33fe..6fd3fdecd80 100644
--- a/libiberty/pex-common.c
+++ b/libiberty/pex-common.c
@@ -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)
{