Remove to call json_node_free() function.

Because, currentNode and previousNode should never be freed.