Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'da/mergetools-meld-output-opt-on-macos' into maint
[gitweb.git]
/
builtin
/
pack-redundant.c
diff --git
a/builtin/pack-redundant.c
b/builtin/pack-redundant.c
index 72c815844dd2abe7f2b4bc5a641eb692d2a45103..cb1df1c7614b4a91f2ed39ffe1f31dfdbcbe793e 100644
(file)
--- a/
builtin/pack-redundant.c
+++ b/
builtin/pack-redundant.c
@@
-442,6
+442,7
@@
static void minimize(struct pack_list **min)
/* return if there are no objects missing from the unique set */
if (missing->size == 0) {
*min = unique;
+ free(missing);
return;
}