Skip to content

Commit 048dea4

Browse files
committed
tree data DOC clarify out param
1 parent 12eaf6d commit 048dea4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tree_data.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1859,7 +1859,7 @@ LIBYANG_API_DECL void lyd_free_attr_siblings(const struct ly_ctx *ctx, struct ly
18591859
* @param[in] ctx_node Optional data tree context node for the value (leafref target, instance-identifier).
18601860
* If not set and is required for the validation to complete, ::LY_EINCOMPLETE is be returned.
18611861
* @param[out] realtype Optional real type of @p value.
1862-
* @param[out] canonical Optional canonical value of @p value (in the dictionary).
1862+
* @param[out] canonical Optional canonical value of @p value in the dictionary, needs to be freed using ::lydict_remove().
18631863
* @return LY_SUCCESS on success
18641864
* @return LY_EINCOMPLETE in case the @p ctx_node is not provided and it was needed to finish the validation
18651865
* (e.g. due to require-instance).

0 commit comments

Comments
 (0)