summaryrefslogtreecommitdiff
path: root/src/odb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/odb.c')
-rw-r--r--src/odb.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/odb.c b/src/odb.c
index c5af38919..1c923c5e6 100644
--- a/src/odb.c
+++ b/src/odb.c
@@ -1508,6 +1508,12 @@ void *git_odb_backend_malloc(git_odb_backend *backend, size_t len)
return git_odb_backend_data_alloc(backend, len);
}
+void git_odb_backend_data_free(git_odb_backend *backend, void *data)
+{
+ GIT_UNUSED(backend);
+ git__free(data);
+}
+
int git_odb_refresh(struct git_odb *db)
{
size_t i;