agendafs
A filesystem for your calendar.
git clone git://mccd.space/agendafscommit 567b9e6d454a3afb2175974ba3d59c8ef020fc4a
parent 9b2bdbdd35a0e6c9736c5078757e40f6814d5a36
Author: Marc Coquand <marc@coquand.email>
Date: Tue, 29 Jul 2025 00:12:49 +0200
fix mem leak
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/main.c b/main.c
@@ -294,7 +294,8 @@ fuse_rmdir(const char *filepath)
}
if (node->child_count > 0) {
- return -ENOTEMPTY;
+ res = -ENOTEMPTY;
+ goto cleanup_return;
}
res = delete_vdir_entry(mreg, node);