From: Felix Fietkau Date: Tue, 12 Feb 2008 10:37:45 +0000 (+0100) Subject: add comment about memory handling in list_configs X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0731533959779889ceff15f068c31031bc77f003;p=oweals%2Fuci.git add comment about memory handling in list_configs --- diff --git a/uci.h b/uci.h index 382e745..44f947f 100644 --- a/uci.h +++ b/uci.h @@ -228,6 +228,8 @@ extern int uci_commit(struct uci_context *ctx, struct uci_package **p, bool over /** * uci_list_configs: List available uci config files * @ctx: uci context + * + * caller is responsible for freeing the allocated memory behind list */ extern int uci_list_configs(struct uci_context *ctx, char ***list);