summaryrefslogtreecommitdiffhomepage
path: root/src/arbits/slbt_archive_meta.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-17 20:03:00 +0000
committermidipix <writeonce@midipix.org>2024-02-17 20:03:00 +0000
commitdf2627424d9afc77f4c6adf7520b253036a3ae84 (patch)
tree2a5a1243e84931259a8637a52eee3daab1feda8d /src/arbits/slbt_archive_meta.c
parent6b3bd56ddd0f33a1a0a4830c638567c24524c07c (diff)
downloadslibtool-df2627424d9afc77f4c6adf7520b253036a3ae84.tar.bz2
slibtool-df2627424d9afc77f4c6adf7520b253036a3ae84.tar.xz
ar mode: pretty printer: symbols, mapfile: produce a sorted output by default.
Diffstat (limited to 'src/arbits/slbt_archive_meta.c')
-rw-r--r--src/arbits/slbt_archive_meta.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/arbits/slbt_archive_meta.c b/src/arbits/slbt_archive_meta.c
index 8c8f999..f4ae050 100644
--- a/src/arbits/slbt_archive_meta.c
+++ b/src/arbits/slbt_archive_meta.c
@@ -51,6 +51,9 @@ static int slbt_free_archive_meta_impl(struct slbt_archive_meta_impl * meta, int
if (meta->symstrv)
free(meta->symstrv);
+ if (meta->mapstrv)
+ free(meta->mapstrv);
+
free(meta);
}