Merge branch 'cc/fetch-error-message-fix'
[gitweb.git] / object.c
index 79d636091ca1a334a71d516326f14887ea91b946..a5c5cf830fc52d03adb4283cafd097218e1117a0 100644 (file)
--- a/object.c
+++ b/object.c
@@ -485,7 +485,7 @@ struct raw_object_store *raw_object_store_new(void)
 static void free_object_directory(struct object_directory *odb)
 {
        free(odb->path);
-       oid_array_clear(&odb->loose_objects_cache);
+       odb_clear_loose_cache(odb);
        free(odb);
 }