]> pilppa.org Git - uci.git/blobdiff - uci.h
add comment about memory handling in list_configs
[uci.git] / uci.h
diff --git a/uci.h b/uci.h
index 382e745f1d58d4f0f4db79df078e320d4719da55..44f947f615267a6d1dd65fb33909582102cbb16c 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
+ *
+ * caller is responsible for freeing the allocated memory behind list
  */
 extern int uci_list_configs(struct uci_context *ctx, char ***list);