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 /libio/genops.c | |
parent | 354b75277bc86768eafbbf5f590deb27e0a71d89 (diff) | |
download | glibc-72e6cdfa2cd95240439c72705ab28a2eebb7d04e.tar glibc-72e6cdfa2cd95240439c72705ab28a2eebb7d04e.tar.gz glibc-72e6cdfa2cd95240439c72705ab28a2eebb7d04e.tar.bz2 glibc-72e6cdfa2cd95240439c72705ab28a2eebb7d04e.zip |
Remove useless "if" before "free".
Diffstat (limited to 'libio/genops.c')
-rw-r--r-- | libio/genops.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libio/genops.c b/libio/genops.c index 7005fdbd96..481fbc52b0 100644 --- a/libio/genops.c +++ b/libio/genops.c @@ -300,8 +300,7 @@ save_for_backup (fp, end_p) memcpy (new_buffer + avail, fp->_IO_read_base + least_mark, needed_size); - if (fp->_IO_save_base) - free (fp->_IO_save_base); + free (fp->_IO_save_base); fp->_IO_save_base = new_buffer; fp->_IO_save_end = new_buffer + avail + needed_size; } |