aboutsummaryrefslogtreecommitdiffstats
path: root/example/passthrough_ll.c
diff options
context:
space:
mode:
Diffstat (limited to 'example/passthrough_ll.c')
-rw-r--r--example/passthrough_ll.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/example/passthrough_ll.c b/example/passthrough_ll.c
index 4a597f2..9d38a7f 100644
--- a/example/passthrough_ll.c
+++ b/example/passthrough_ll.c
@@ -190,6 +190,7 @@ static void lo_destroy(void *userdata)
while (lo->root.next != &lo->root) {
struct lo_inode* next = lo->root.next;
lo->root.next = next->next;
+ close(next->fd);
free(next);
}
}