diff options
author | midipix <writeonce@midipix.org> | 2024-01-28 04:42:55 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2024-01-28 07:25:29 +0000 |
commit | 7fe83d363d5fd2d27b5c44b95c3a50c493ce7876 (patch) | |
tree | 63d39c358a5e9e104f3597f169ccdef7a0fc256b /src/arbits | |
parent | d6b3d71e6fd9e93fa15c76d4448594f80260b341 (diff) | |
download | slibtool-7fe83d363d5fd2d27b5c44b95c3a50c493ce7876.tar.bz2 slibtool-7fe83d363d5fd2d27b5c44b95c3a50c493ce7876.tar.xz |
struct ar_meta_armap_common_{32|64}: added the ar_symrefs member.
Diffstat (limited to 'src/arbits')
-rw-r--r-- | src/arbits/slbt_archive_meta.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/arbits/slbt_archive_meta.c b/src/arbits/slbt_archive_meta.c index d57b5bf..9f6595c 100644 --- a/src/arbits/slbt_archive_meta.c +++ b/src/arbits/slbt_archive_meta.c @@ -36,6 +36,12 @@ static const char ar_signature[] = AR_SIGNATURE; static int slbt_free_archive_meta_impl(struct slbt_archive_meta_impl * meta, int ret) { if (meta) { + if (meta->armaps.armap_symrefs_32) + free(meta->armaps.armap_symrefs_32); + + if (meta->armaps.armap_symrefs_64) + free(meta->armaps.armap_symrefs_64); + if (meta->hdrinfov) free(meta->hdrinfov); |