# File lib/codec/data.rb, line 103
    def self.finalize!(data, free)
      proc {
        Cproton.pn_data_free(data) if free
      }
    end