diff options
Diffstat (limited to 'src/arbits/slbt_archive_meta.c')
-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); |