summaryrefslogtreecommitdiff
path: root/src/md5sum.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/md5sum.c')
-rw-r--r--src/md5sum.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/md5sum.c b/src/md5sum.c
index 400f675fa..8f2a67d29 100644
--- a/src/md5sum.c
+++ b/src/md5sum.c
@@ -498,8 +498,7 @@ digest_check (const char *checkfile_name, int (*digest_stream) (FILE *, void *))
}
while (!feof (checkfile_stream) && !ferror (checkfile_stream));
- if (line)
- free (line);
+ free (line);
if (ferror (checkfile_stream))
{