summaryrefslogtreecommitdiff
path: root/include/git2/sys/refdb_backend.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2015-10-01 07:56:19 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2015-10-01 07:56:19 +0200
commita99f33e9b05504ea5eccd9c9210cd4a9e8d11695 (patch)
tree2b8c5a5972d066c3c059d58b72e35ffa25511b1f /include/git2/sys/refdb_backend.h
parentba1a5553e43c7d5853dda21b1fce2a32e0ce4fd2 (diff)
parentd3b29fb94bf1c1d0caec39b4a2c3d2061c63efec (diff)
downloadlibgit2-a99f33e9b05504ea5eccd9c9210cd4a9e8d11695.tar.gz
Merge pull request #3447 from arthurschreiber/arthur/fix-odb-refdb-free
refdb and odb backends must provide `free` function
Diffstat (limited to 'include/git2/sys/refdb_backend.h')
-rw-r--r--include/git2/sys/refdb_backend.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/git2/sys/refdb_backend.h b/include/git2/sys/refdb_backend.h
index 01fce8009..5129ad84a 100644
--- a/include/git2/sys/refdb_backend.h
+++ b/include/git2/sys/refdb_backend.h
@@ -130,8 +130,8 @@ struct git_refdb_backend {
int (*ensure_log)(git_refdb_backend *backend, const char *refname);
/**
- * Frees any resources held by the refdb. A refdb implementation may
- * provide this function; if it is not provided, nothing will be done.
+ * Frees any resources held by the refdb (including the `git_refdb_backend`
+ * itself). A refdb backend implementation must provide this function.
*/
void (*free)(git_refdb_backend *backend);