summaryrefslogtreecommitdiff
path: root/json-glib/json-node.c
diff options
context:
space:
mode:
Diffstat (limited to 'json-glib/json-node.c')
-rw-r--r--json-glib/json-node.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/json-glib/json-node.c b/json-glib/json-node.c
index 57221c1..a344670 100644
--- a/json-glib/json-node.c
+++ b/json-glib/json-node.c
@@ -141,8 +141,6 @@ json_node_unset (JsonNode *node)
switch (node->type)
{
case JSON_NODE_OBJECT:
- if (node->data.object)
- json_object_unref (node->data.object);
g_clear_pointer (&(node->data.object), json_object_unref);
break;