aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-05-01 07:42:19 +0530
committersinanmohd <sinan@sinanmohd.com>2024-05-01 07:42:19 +0530
commit14a5ba837f78bca9d524d29b9800869173fe45ba (patch)
tree885af97a01b96a774af098e63d00497fbeccf88a /include
parent4030e9667b8be47ec2d7a97d9711d68aa153805e (diff)
npassd/service/service_free: free collections
Diffstat (limited to 'include')
-rw-r--r--include/npassd/collection.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/npassd/collection.h b/include/npassd/collection.h
index 36d6b72..40c100f 100644
--- a/include/npassd/collection.h
+++ b/include/npassd/collection.h
@@ -16,6 +16,7 @@ struct collection {
LIST_HEAD(collection_dlist, collection);
+void collection_free(struct collection *c);
int collection_new(sd_bus *bus, struct sqlite3 *db, struct collection **p,
const char *alias, const char *label, const char *root);
int collection_root_make(const char *label, const char *alias, char **root);