From 0731533959779889ceff15f068c31031bc77f003 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 12 Feb 2008 11:37:45 +0100 Subject: [PATCH] add comment about memory handling in list_configs --- uci.h | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.11.0