Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'sb/plug-wt-shortstatus-tracking-leak'
[gitweb.git]
/
builtin
/
update-index.c
diff --git
a/builtin/update-index.c
b/builtin/update-index.c
index 587898624c0550749a9a241e2742785f20ec1bd5..6271b54adc24c8765ca0b179faf53f6af86dc630 100644
(file)
--- a/
builtin/update-index.c
+++ b/
builtin/update-index.c
@@
-584,6
+584,7
@@
static int do_reupdate(int ac, const char **av,
path = xstrdup(ce->name);
update_one(path);
free(path);
+ free(old);
if (save_nr != active_nr)
goto redo;
}