diff options
author | Jakub Jelinek <jakub@redhat.com> | 2008-03-26 11:22:19 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2008-03-26 11:22:19 +0000 |
commit | f23e5ee26d14b7931c65e5df0bf46ff356c6177b (patch) | |
tree | 7ec5160f8a03894ed0f4be9a1c312ed5bffdc7e5 /sysdeps/posix/sprofil.c | |
parent | d0b6ac6c5023a223e150c49c422c7ad2bd99456c (diff) |
Updated to fedora-glibc-20080326T1041cvs/fedora-glibc-2_7_90-12
Diffstat (limited to 'sysdeps/posix/sprofil.c')
-rw-r--r-- | sysdeps/posix/sprofil.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdeps/posix/sprofil.c b/sysdeps/posix/sprofil.c index 853038d078..6ffce4d783 100644 --- a/sysdeps/posix/sprofil.c +++ b/sysdeps/posix/sprofil.c @@ -322,8 +322,7 @@ __sprofil (struct prof *profp, int profcnt, struct timeval *tvp, for (i = 0; i < profcnt; ++i) if (add_region (p[i], (flags & PROF_UINT) != 0) < 0) { - if (prof_info.region) - free (prof_info.region); + free (prof_info.region); prof_info.num_regions = 0; prof_info.region = NULL; return -1; |