diff options
author | Ulrich Drepper <drepper@redhat.com> | 2008-03-19 06:43:34 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2008-03-19 06:43:34 +0000 |
commit | 72e6cdfa2cd95240439c72705ab28a2eebb7d04e (patch) | |
tree | ae830b7817948dc795cc92ec98216c478dde57e3 /resolv/res_debug.c | |
parent | * sysdeps/unix/sysv/linux/dl-sysdep.h: Use __ASSEMBLER__ instead (diff) | |
download | glibc-72e6cdfa2cd95240439c72705ab28a2eebb7d04e.tar.gz glibc-72e6cdfa2cd95240439c72705ab28a2eebb7d04e.tar.bz2 glibc-72e6cdfa2cd95240439c72705ab28a2eebb7d04e.zip |
Remove useless "if" before "free".
Diffstat (limited to 'resolv/res_debug.c')
-rw-r--r-- | resolv/res_debug.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/resolv/res_debug.c b/resolv/res_debug.c index d9f1607df6..cd69d4f4d4 100644 --- a/resolv/res_debug.c +++ b/resolv/res_debug.c @@ -204,8 +204,7 @@ do_section(const res_state statp, rrnum++; } cleanup: - if (buf != NULL) - free(buf); + free(buf); } /* |