#1300: Dir.entries() leaks memory -----------------------------------+---------------------------------------- Reporter: lsansonetti@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: -----------------------------------+---------------------------------------- Dir.entries is syntaxic sugar for Dir.new, which leaks both the directory descriptor and the path (strdup() call). We must register a finalize method that closes the descriptor and frees the path. -- Ticket URL: <http://www.macruby.org/trac/ticket/1300> MacRuby <http://macruby.org/>