diff options
author | Mattias Andrée <maandree@kth.se> | 2022-07-07 15:26:59 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2022-07-07 15:28:31 +0200 |
commit | 46cf9187cb1153bf860513041643da04a45d1bf1 (patch) | |
tree | 1467df94c6cf4e480293e7e53c1b68cfbdcf01e4 | |
parent | m (diff) | |
download | libsha1-46cf9187cb1153bf860513041643da04a45d1bf1.tar.gz libsha1-46cf9187cb1153bf860513041643da04a45d1bf1.tar.bz2 libsha1-46cf9187cb1153bf860513041643da04a45d1bf1.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | common.h | 2 | ||||
-rw-r--r-- | sum_fd.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -5,8 +5,8 @@ #include <alloca.h> #include <errno.h> #include <inttypes.h> -#include <stdlib.h> #include <stddef.h> +#include <stdlib.h> #include <string.h> #include <unistd.h> @@ -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; } |