summaryrefslogtreecommitdiffstats
path: root/src/ref.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ref.c')
-rw-r--r--src/ref.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ref.c b/src/ref.c
index e73706f..ac4bcb0 100644
--- a/src/ref.c
+++ b/src/ref.c
@@ -22,7 +22,7 @@ ref_free(void *ref)
void
refs_free(struct list *list)
{
- list_free(list, ref_free, LINK_OFFSET(struct ref));
+ list_free(list, ref_free, LINK_OFFSET(struct ref, link));
}
static struct link *