diff options
Diffstat (limited to 'json-glib/json-path.c')
-rw-r--r-- | json-glib/json-path.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/json-glib/json-path.c b/json-glib/json-path.c index fc8d52c..4fb61bc 100644 --- a/json-glib/json-path.c +++ b/json-glib/json-path.c @@ -853,7 +853,7 @@ walk_path_node (GList *path, else { JSON_NOTE (PATH, "glob match member '%s'", (char *) l->data); - json_array_add_element (results, json_node_copy (root)); + json_array_add_element (results, json_node_copy (member)); } } g_list_free (members); |