]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Merge pull request #3060 from stoeckmann/xar_free
authorDustin L. Howett <dustin@howett.net>
Sun, 24 May 2026 06:19:12 +0000 (01:19 -0500)
committerMartin Matuska <martin@matuska.de>
Tue, 23 Jun 2026 08:30:28 +0000 (10:30 +0200)
xar: fix fflags_text leak in file_free
(cherry picked from commit 6f95523f45bacc9a84a3c6a74a1c0bda9b7ccb7a)

libarchive/archive_read_support_format_xar.c

index 0bc3862f85fe8227be459b453548a999de435580..5adb68691d7d6e536289f4680e4425e06ecf126d 100644 (file)
@@ -1808,6 +1808,7 @@ file_free(struct xar_file *file)
        archive_string_free(&(file->uname));
        archive_string_free(&(file->gname));
        archive_string_free(&(file->hardlink));
+       archive_string_free(&(file->fflags_text));
        xattr = file->xattr_list;
        while (xattr != NULL) {
                struct xattr *next;