```ruby
module Rip::Nodes
  class Character < Base
    attr_reader :data

    def initialize(location, data)
      super(location)
      @data = data.to_sym
    end

    def ==(other)
      super &&
        (data == other.data)
    end

    def to_debug(level = 0)
      [
        [ level, "#{super.last.last} (#{data})" ]
      ]
    end
  end
end
```

Fix potential memory leak introduced in commit 2b98f98beb
user
```ruby
module Rip::Nodes
  class Character < Base
    attr_reader :data

    def initialize(location, data)
      super(location)
      @data = data.to_s
    end

    def ==(other)
      super &&
        (data == other.data)
    end

    def to_debug(level = 0)
      [
        [ level, "#{super.last.last} (#{data})" ]
      ]
    end
  end
end
```
assistant