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 /locale/programs/linereader.c | |
parent | 354b75277bc86768eafbbf5f590deb27e0a71d89 (diff) | |
download | glibc-72e6cdfa2cd95240439c72705ab28a2eebb7d04e.zip glibc-72e6cdfa2cd95240439c72705ab28a2eebb7d04e.tar.gz glibc-72e6cdfa2cd95240439c72705ab28a2eebb7d04e.tar.bz2 |
Remove useless "if" before "free".
Diffstat (limited to 'locale/programs/linereader.c')
-rw-r--r-- | locale/programs/linereader.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/locale/programs/linereader.c b/locale/programs/linereader.c index 8a04e32..2e20e5d 100644 --- a/locale/programs/linereader.c +++ b/locale/programs/linereader.c @@ -859,8 +859,7 @@ non-symbolic character value should not be used")); if (illegal_string) { free (buf); - if (buf2 != NULL) - free (buf2); + free (buf2); lr->token.val.str.startmb = NULL; lr->token.val.str.lenmb = 0; lr->token.val.str.startwc = NULL; |