Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'maint'
[gitweb.git]
/
diff-lib.c
diff --git
a/diff-lib.c
b/diff-lib.c
index 7fb19c7b87fc39cc4515628e8623ccb92fbaa60e..92c0e39ad6f21e0511ee84052e2b762d6e447f61 100644
(file)
--- a/
diff-lib.c
+++ b/
diff-lib.c
@@
-24,7
+24,7
@@
static int read_directory(const char *path, struct path_list *list)
while ((e = readdir(dir)))
if (strcmp(".", e->d_name) && strcmp("..", e->d_name))
- path_list_insert(
xstrdup(e->d_name)
, list);
+ path_list_insert(
e->d_name
, list);
closedir(dir);
return 0;