t1007: add hash-object --literally tests
[gitweb.git] / preload-index.c
index 79ce8a998b0008f9182fa127b85d63feff4592d0..c1fe3a3ef9cba0c155d02475e24315784bd27ae4 100644 (file)
@@ -63,7 +63,7 @@ static void *preload_thread(void *_data)
                        continue;
                ce_mark_uptodate(ce);
        } while (--nr > 0);
-       cache_def_free(&cache);
+       cache_def_clear(&cache);
        return NULL;
 }