From 784b778f3b5581853b5a77fb98d331962793ae37 Mon Sep 17 00:00:00 2001 From: AZero13 Date: Tue, 16 Dec 2025 21:37:16 -0500 Subject: [PATCH] Fix p == null copy paste error --- tar/write.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tar/write.c b/tar/write.c index 9e6c97b58..4369bce7f 100644 --- a/tar/write.c +++ b/tar/write.c @@ -190,7 +190,6 @@ set_reader_options(struct bsdtar *bsdtar, struct archive *a) char *p; /* Set default write options. */ if ((p = malloc(module_len + opt_len)) == NULL) - if (p == NULL) lafe_errc(1, errno, "Out of memory"); /* Prepend magic code to ignore options for * a format or filters which are not added to -- 2.47.3