add comment about memory handling in list_configs
authorFelix Fietkau <nbd@openwrt.org>
Tue, 12 Feb 2008 10:37:45 +0000 (11:37 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 12 Feb 2008 10:37:45 +0000 (11:37 +0100)
uci.h

diff --git a/uci.h b/uci.h
index 382e745..44f947f 100644 (file)
--- 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
 /**
  * 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);
 
  */
 extern int uci_list_configs(struct uci_context *ctx, char ***list);