aboutsummaryrefslogtreecommitdiffstats
path: root/sum_fd.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-07-07 15:26:59 +0200
committerMattias Andrée <maandree@kth.se>2022-07-07 15:28:31 +0200
commit46cf9187cb1153bf860513041643da04a45d1bf1 (patch)
tree1467df94c6cf4e480293e7e53c1b68cfbdcf01e4 /sum_fd.c
parentm (diff)
downloadlibsha1-46cf9187cb1153bf860513041643da04a45d1bf1.tar.gz
libsha1-46cf9187cb1153bf860513041643da04a45d1bf1.tar.bz2
libsha1-46cf9187cb1153bf860513041643da04a45d1bf1.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'sum_fd.c')
-rw-r--r--sum_fd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sum_fd.c b/sum_fd.c
index 73a5a5a..c4f41d0 100644
--- a/sum_fd.c
+++ b/sum_fd.c
@@ -52,7 +52,7 @@ libsha1_sum_fd(int fd, enum libsha1_algorithm algorithm, void *restrict hashsum)
if (errno == EINTR)
continue;
#if ALLOCA_LIMIT <= 0
- free(chunk);
+ free(chunk);
#endif
return -1;
}