[MacRuby] #1300: Dir.entries() leaks memory
#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/>
#1300: Dir.entries() leaks memory -----------------------------------+---------------------------------------- Reporter: lsansonetti@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: blocker | Milestone: MacRuby 0.11 Component: MacRuby | Resolution: fixed Keywords: | -----------------------------------+---------------------------------------- Changes (by lsansonetti@…): * status: new => closed * resolution: => fixed * milestone: => MacRuby 0.11 Comment: Should be fixed by https://github.com/MacRuby/MacRuby/commit/5156b11db0d4c8250c9577e97a60e52cd9.... -- Ticket URL: <http://www.macruby.org/trac/ticket/1300#comment:1> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby