#1308: MacRuby does not invoke a free function which was specified in Data_Wrap_Struct(). ----------------------------------+----------------------------------------- Reporter: watson1978@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ----------------------------------+----------------------------------------- http://lists.macosforge.org/pipermail/macruby-devel/2011-May/007778.html huge memory leaks occurs with Nokogiri 1.4.x {{{ #!ruby require 'rubygems' require 'nokogiri' loop do doc = Nokogiri::HTML('<html><body><p>TEST </p></body></html>') p = doc.css("p")[0].text print p end }}} Nokogiri 1.4.x use malloc() to allocate memory. MacRuby needs to invoke a free function which was specified in Data_Wrap_Struct(). -- Ticket URL: <http://www.macruby.org/trac/ticket/1308> MacRuby <http://macruby.org/>