Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
travis-ci: check that all build artifacts are .gitignore-d
[gitweb.git]
/
rerere.c
diff --git
a/rerere.c
b/rerere.c
index 829b3b0f08f7546c168e2728687d5729c4607cfa..70634d456cc0b70cdbac1579b82016761252c7d9 100644
(file)
--- a/
rerere.c
+++ b/
rerere.c
@@
-40,9
+40,8
@@
static void free_rerere_dirs(void)
free(rerere_dir[i]->status);
free(rerere_dir[i]);
}
-
free
(rerere_dir);
+
FREE_AND_NULL
(rerere_dir);
rerere_dir_nr = rerere_dir_alloc = 0;
- rerere_dir = NULL;
}
static void free_rerere_id(struct string_list_item *item)