Commit Diff


commit - 1c7a5dcbe20843cb23eab00166eb8b16db138086
commit + 48d5fe422307cd31e7dc2af67d5eb5e7384710b0
blob - 3cb0ac26f390059d1c584ba1c6b0b86e5bfb1af6
blob + 87e9fc0833f07dfe77c55287aa38f054cb803c8c
--- libexec/got-read-pack/got-read-pack.c
+++ libexec/got-read-pack/got-read-pack.c
@@ -491,6 +491,7 @@ main(int argc, char *argv[])
 		got_packidx_close(packidx);
 	if (pack)
 		got_pack_close(pack);
+	got_object_cache_close(&objcache);
 	imsg_clear(&ibuf);
 	if (err)
 		fprintf(stderr, "%s: %s\n", getprogname(), err->msg);