Commit Diff


commit - 262c582a09e9cdbde415a8b486802aa20289afd9
commit + 37ebab0a227b033a388435a411feeec981969bca
blob - fdf9a489f0fb9745b83aca4058772c698f0edab3
blob + 444ad15676d11655503b9fc76116e6129f4c4f1d
--- libexec/got-index-pack/got-index-pack.c
+++ libexec/got-index-pack/got-index-pack.c
@@ -725,6 +725,7 @@ index_pack(struct got_pack *pack, int idxfd, uint8_t *
 		goto done;
 	}
 done:
+	free(objects);
 	free(packidx.hdr.magic);
 	free(packidx.hdr.version);
 	free(packidx.hdr.fanout_table);