From 39cce00b25e35fb65d09cb384a063c5017ce84e1 Mon Sep 17 00:00:00 2001 From: Andy Ragusa Date: Tue, 25 Jul 2023 14:30:11 -0700 Subject: [PATCH] blah --- libclamav/udf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libclamav/udf.c b/libclamav/udf.c index 1df4b61a91..f8aec7b0e3 100644 --- a/libclamav/udf.c +++ b/libclamav/udf.c @@ -68,7 +68,7 @@ static cl_error_t writeWholeFile(cli_ctx *ctx, const char *const fileName, const status = cli_magic_scan_desc(fd, tmpf, ctx, fileName, LAYER_ATTRIBUTES_NONE); done: - if (-1 != fd){ + if (-1 != fd) { close(fd); fd = -1; }