mirror of
https://github.com/libarchive/libarchive.git
synced 2026-01-18 17:11:25 +01:00
Fix p == null copy paste error
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user