diff options
Diffstat (limited to 'json-glib/json-node.c')
| -rw-r--r-- | json-glib/json-node.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/json-glib/json-node.c b/json-glib/json-node.c index b0f6bef..7043de3 100644 --- a/json-glib/json-node.c +++ b/json-glib/json-node.c @@ -131,7 +131,7 @@ json_node_copy (JsonNode *node) g_return_val_if_fail (node != NULL, NULL); copy = g_slice_new0 (JsonNode); - *copy = *node; + copy->type = node->type; switch (copy->type) { |
