summaryrefslogtreecommitdiff
path: root/json-glib/json-path.c
diff options
context:
space:
mode:
Diffstat (limited to 'json-glib/json-path.c')
-rw-r--r--json-glib/json-path.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/json-glib/json-path.c b/json-glib/json-path.c
index 3ccf98f..4604cd9 100644
--- a/json-glib/json-path.c
+++ b/json-glib/json-path.c
@@ -936,7 +936,7 @@ walk_path_node (GList *path,
*
* Return value: (transfer full): a newly-created #JsonNode of type
* %JSON_NODE_ARRAY containing an array of matching #JsonNodes.
- * Use json_node_free() when done
+ * Use json_node_unref() when done
*
* Since: 0.14
*/
@@ -976,7 +976,7 @@ json_path_match (JsonPath *path,
*
* Return value: (transfer full): a newly-created #JsonNode of type
* %JSON_NODE_ARRAY containing an array of matching #JsonNodes.
- * Use json_node_free() when done
+ * Use json_node_unref() when done
*
* Since: 0.14
*/