summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libbb/unarchive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/unarchive.c b/libbb/unarchive.c
index 44f8715..1d152f5 100644
--- a/libbb/unarchive.c
+++ b/libbb/unarchive.c
@@ -621,7 +621,7 @@ free_header_tar(file_header_t *tar_entry)
return;
free(tar_entry->name);
- if (tar_entry->link_name);
+ if (tar_entry->link_name)
free(tar_entry->link_name);
free(tar_entry);