Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Make read_patch_file work on a strbuf.
[gitweb.git]
/
builtin-update-index.c
diff --git
a/builtin-update-index.c
b/builtin-update-index.c
index c76879ed7f8fb4fc46bd4193746e6bbfa50fa01a..e1a938d8971f11e1a1e963913ab23ff6acc0cea9 100644
(file)
--- a/
builtin-update-index.c
+++ b/
builtin-update-index.c
@@
-377,8
+377,6
@@
static void read_index_info(int line_termination)
die("git-update-index: unable to update %s",
path_name);
}
- if (path_name != ptr)
- free(path_name);
continue;
bad_line: