git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
74fd070
)
object.c: clear replace map before freeing it
author
Stefan Beller
<redacted>
Thu, 17 May 2018 18:29:57 +0000
(11:29 -0700)
committer
Junio C Hamano
<redacted>
Thu, 17 May 2018 22:53:33 +0000
(07:53 +0900)
Signed-off-by: Stefan Beller <redacted>
Signed-off-by: Junio C Hamano <redacted>
object.c
patch
|
blob
|
history
diff --git
a/object.c
b/object.c
index cdf520084dfd4bd86671114bf7a5425f3fd36783..97245fdea25c2d1342e0d4e791d82e2aeadaed7c 100644
(file)
--- a/
object.c
+++ b/
object.c
@@
-480,6
+480,8
@@
void raw_object_store_clear(struct raw_object_store *o)
{
FREE_AND_NULL(o->objectdir);
FREE_AND_NULL(o->alternate_db);
+
+ oidmap_free(o->replace_map, 1);
FREE_AND_NULL(o->replace_map);
free_alt_odbs(o);
git clone https://git.99rst.org/PROJECT