Commit 9ed5a60d authored by Timo Teräs's avatar Timo Teräs

unbreak audit after xattr support

parent 23d0a224
...@@ -620,12 +620,11 @@ int apk_fileinfo_get(int atfd, const char *filename, unsigned int flags, ...@@ -620,12 +620,11 @@ int apk_fileinfo_get(int atfd, const char *filename, unsigned int flags,
} }
apk_fileinfo_hash_xattr_array(xattrs, apk_checksum_evp(xattr_checksum), &fi->xattr_csum); apk_fileinfo_hash_xattr_array(xattrs, apk_checksum_evp(xattr_checksum), &fi->xattr_csum);
apk_xattr_array_free(&xattrs); apk_xattr_array_free(&xattrs);
} else r = errno; } else if (r < 0) r = errno;
close(fd); close(fd);
} else r = errno; } else r = errno;
if (r && r != ENOTSUP) return -r; if (r && r != ENOTSUP) return -r;
} }
if (checksum == APK_CHECKSUM_NONE) if (checksum == APK_CHECKSUM_NONE)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment